were getting there...
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 37s
Create tag and build when new code gets to main / Test (push) Successful in 5m43s
Create tag and build when new code gets to main / Export (push) Failing after 8m23s

This commit is contained in:
2026-01-28 17:39:23 +01:00
parent 89ba5cc985
commit fdc352596d

View File

@@ -86,37 +86,8 @@ jobs:
# - Test # Wait for tests to finish # - Test # Wait for tests to finish
steps: steps:
- name: Checkout - name: Checkout with LFS
uses: actions/checkout@v4 uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
with:
token: ${{ secrets.TOKEN }}
lfs: false
persist-credentials: true
- name: Create Git LFS file list
run: git lfs ls-files -l |cut -d' ' -f1 |sort >.git/lfs-hashes.txt
- name: Restore Git LFS object cache
uses: actions/cache@v5
with:
path: .git/lfs
key: ${{ runner.os }}-lfsdata-v1-${{ hashFiles('.git/lfs-hashes.txt') }}
restore-keys: |
${{ runner.os }}-lfsdata-v1-
${{ runner.os }}-lfsdata
- name: Setup 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"
- name: Fetch any needed Git LFS objects and prune extraneous ones
run: git lfs fetch --prune
- name: Check out Git LFS content
run: git lfs checkout
- name: Setup Godot - name: Setup Godot
id: setup-godot id: setup-godot
@@ -134,6 +105,9 @@ jobs:
mkdir -v -p build/windows mkdir -v -p build/windows
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe ${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
zip -r Windows.zip build/windows zip -r Windows.zip build/windows
ls -la
pwd
echo ${{ github.workspace }}
- name: Upload to Itch - name: Upload to Itch
uses: KikimoraGames/itch-publish@v0.0.3 uses: KikimoraGames/itch-publish@v0.0.3
@@ -142,5 +116,5 @@ jobs:
itchUsername: ${{ env.ITCHIO_USERNAME }} itchUsername: ${{ env.ITCHIO_USERNAME }}
itchGameId: ${{ env.ITCHIO_GAMEID }} itchGameId: ${{ env.ITCHIO_GAMEID }}
buildNumber: 0.1.0 # ${{ needs.BumpTag.outputs.tag_name }} buildNumber: 0.1.0 # ${{ needs.BumpTag.outputs.tag_name }}
gameData: Windows.zip gameData: ${{ github.workspace }}/Windows.zip
buildChannel: windows buildChannel: windows