Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad4bc85

Browse files
committed
Flattened switch-cases, added echo, corrected from target path
1 parentad2cefb commitad4bc85

File tree

1 file changed

+10
-25
lines changed

1 file changed

+10
-25
lines changed

‎.github/workflows/step-4-deploy.yml‎

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -167,32 +167,17 @@ jobs:
167167
for build_target in $(echo "$REQUIRED_BUILD_TARGETS" | jq -r '.[]'); do
168168
TARGET_CHANNEL="unknown"
169169
case "$build_target" in
170-
Android)
171-
TARGET_CHANNEL="android"
172-
;;
173-
WebGL)
174-
TARGET_CHANNEL="webgl"
175-
;;
176-
StandaloneLinux64-Client)
177-
TARGET_CHANNEL="linux-client"
178-
;;
179-
StandaloneLinux64-Server)
180-
TARGET_CHANNEL="linux-server"
181-
;;
182-
StandaloneWindows)
183-
TARGET_CHANNEL="windows-32"
184-
;;
185-
StandaloneWindows64)
186-
TARGET_CHANNEL="windows-64"
187-
;;
188-
StandaloneOSX)
189-
TARGET_CHANNEL="osx-desktop"
190-
;;
191-
iOS)
192-
TARGET_CHANNEL="osx-ios"
193-
;;
170+
Android) TARGET_CHANNEL="android" ;;
171+
WebGL) TARGET_CHANNEL="webgl" ;;
172+
StandaloneLinux64-Client) TARGET_CHANNEL="linux-client" ;;
173+
StandaloneLinux64-Server) TARGET_CHANNEL="linux-server" ;;
174+
StandaloneWindows) TARGET_CHANNEL="windows-32" ;;
175+
StandaloneWindows64) TARGET_CHANNEL="windows-64" ;;
176+
StandaloneOSX) TARGET_CHANNEL="osx-desktop" ;;
177+
iOS) TARGET_CHANNEL="osx-ios" ;;
194178
esac
195-
butler push "$ARTIFACT_DIR/$PROJECT_DIR"-"$build_target" "${{ secrets.ITCH_USERNAME }}/${{ secrets.ITCH_PROJECT }}:$TARGET_CHANNEL" --userversion "$VERSION"
179+
echo "➡️ Pushing $ARTIFACT_DIR/$build_target to itch.io channel $TARGET_CHANNEL"
180+
butler push "$ARTIFACT_DIR/$build_target" "${{ secrets.ITCH_USERNAME }}/${{ secrets.ITCH_PROJECT }}:$TARGET_CHANNEL" --userversion "$VERSION"
196181
done
197182
env:
198183
BUTLER_API_KEY:${{ secrets.BUTLER_API_KEY }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp