manually uploading to itch
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 21s
Create tag and build when new code gets to main / Test (push) Successful in 5m58s
Create tag and build when new code gets to main / Export (push) Successful in 7m52s

This commit is contained in:
2026-01-28 18:15:15 +01:00
parent 9ba8847626
commit 93841bc85d

View File

@@ -60,7 +60,7 @@ jobs:
upload-report: false
- name: Upload test report
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v3-node20
with:
name: Test Report
path: ${{ github.workspace }}/reports/test-result.html
@@ -90,18 +90,34 @@ jobs:
mkdir -v -p build/windows
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
zip -r Windows.zip build/windows
- name: List files
run: |
ls -la
pwd
echo ${{ github.workspace }}
- name: Upload build to Itch
uses: https://github.com/Oval-Tutu/publish-to-itch-with-butler.git@main
with:
api-key: ${{ secrets.BUTLER_TOKEN }}
itch_user: ${{ env.ITCHIO_USERNAME }}
itch_game: ${{ env.ITCHIO_GAMEID }}
channel: windows
package: Windows.zip
version: ${{ needs.BumpTag.outputs.tag_name }}
- name: Setup Butler
shell: bash
env:
BUTLER_API_KEY: ${{ secrets.BUTLER_TOKEN }}
run: |
mkdir ./tools 2>/dev/null || true
pushd tools
curl -sSLfo ./butler.zip "https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default"
unzip butler.zip
chmod +x ./butler
popd
./tools/butler -V
- name: Upload to itch.io
shell: bash
env:
BUTLER_API_KEY: ${{ secrets.BUTLER_TOKEN }}
run: |
versionArgument="--userversion ${{ needs.BumpTag.outputs.tag_name }}"
./tools/butler push \
"Windows.zip" \
${{ env.ITCHIO_USERNAME }}/${{ env.ITCHIO_GAMEID }}:windows ${versionArgument}
# - name: Upload to Itch
# uses: KikimoraGames/itch-publish@v0.0.3