changing itch action
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 24s
Create tag and build when new code gets to main / Export (push) Failing after 4s
Create tag and build when new code gets to main / Test (push) Has been cancelled

This commit is contained in:
2026-01-28 17:54:06 +01:00
parent fdc352596d
commit 51b7328310
3 changed files with 38 additions and 87 deletions

View File

@@ -43,20 +43,8 @@ jobs:
# env:
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.TOKEN }}
lfs: false
persist-credentials: true
- name: Checkout LFS
run: |
git lfs install --local
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
git config --local --unset http.${{ github.server_url }}/.extraheader
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull
- name: Checkout with LFS
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
- name: Run tests
uses: godot-gdunit-labs/gdUnit4-action@v1
@@ -72,18 +60,15 @@ jobs:
upload-report: false
- name: Upload test report
uses: actions/upload-artifact@v3-node20
uses: actions/upload-artifact@v6
with:
name: Test Report
path: ${{ github.workspace }}/reports/test-result.html
Export:
runs-on: godot
# env:
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
# needs:
# - BumpTag
# - Test # Wait for tests to finish
needs:
- BumpTag
steps:
- name: Checkout with LFS
@@ -109,12 +94,21 @@ jobs:
pwd
echo ${{ github.workspace }}
- name: Upload to Itch
uses: KikimoraGames/itch-publish@v0.0.3
- uses: Oval-Tutu/publish-to-itch-with-butler@v1
with:
butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
itchUsername: ${{ env.ITCHIO_USERNAME }}
itchGameId: ${{ env.ITCHIO_GAMEID }}
buildNumber: 0.1.0 # ${{ needs.BumpTag.outputs.tag_name }}
gameData: ${{ github.workspace }}/Windows.zip
buildChannel: windows
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: Upload to Itch
# uses: KikimoraGames/itch-publish@v0.0.3
# with:
# butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
# itchUsername: ${{ env.ITCHIO_USERNAME }}
# itchGameId: ${{ env.ITCHIO_GAMEID }}
# buildNumber: 0.1.0 # ${{ needs.BumpTag.outputs.tag_name }}
# gameData: ${{ github.workspace }}/Windows.zip
# buildChannel: windows