We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentcadb9a5 commit48a8681Copy full SHA for 48a8681
.github/workflows/step-4-deploy.yml
@@ -163,9 +163,22 @@ jobs:
163
echo "⚠️ Missing itch.io credentials.";
164
exit 1;
165
fi
166
- butler push "$ARTIFACT_DIR" "${{ secrets.ITCH_USERNAME }}/${{ secrets.ITCH_PROJECT }}:${{ inputs.buildType }}"
+ 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
179
env:
180
BUTLER_API_KEY:${{ secrets.BUTLER_API_KEY }}
181
+REQUIRED_BUILD_TARGETS:'${{ toJson(matrix.requiredBuildTargets) }}'
182
183
# ───── App Center ─────
184
-name:📱 Deploy to App Center