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

Commit48a8681

Browse files
committed
feat: trying channel split
1 parentcadb9a5 commit48a8681

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,22 @@ jobs:
163163
echo "⚠️ Missing itch.io credentials.";
164164
exit 1;
165165
fi
166-
butler push "$ARTIFACT_DIR" "${{ secrets.ITCH_USERNAME }}/${{ secrets.ITCH_PROJECT }}:${{ inputs.buildType }}"
166+
TARGET_CHANNEL=""
167+
for t in $(echo "$REQUIRED_BUILD_TARGETS" | jq -r '.[]'); do
168+
TARGET_CHANNEL="unknown"
169+
case "$t" in
170+
StandaloneLinux64-Client)
171+
TARGET_CHANNEL="linux"
172+
;;
173+
StandaloneWindows64)
174+
TARGET_CHANNEL="windows"
175+
;;
176+
esac
177+
butler push "$ARTIFACT_DIR/$PROJECT_DIR"-"$t" "${{ secrets.ITCH_USERNAME }}/${{ secrets.ITCH_PROJECT }}:$TARGET_CHANNEL"
178+
done
167179
env:
168180
BUTLER_API_KEY:${{ secrets.BUTLER_API_KEY }}
181+
REQUIRED_BUILD_TARGETS:'${{ toJson(matrix.requiredBuildTargets) }}'
169182

170183
# ───── App Center ─────
171184
-name:📱 Deploy to App Center

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp