From fdc352596d9b06af94f82eafac83df3df7686c93 Mon Sep 17 00:00:00 2001 From: Minimata Date: Wed, 28 Jan 2026 17:39:23 +0100 Subject: [PATCH] were getting there... --- .gitea/workflows/main.yaml | 38 ++++++-------------------------------- 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index f5663e12..dddd3aac 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -86,37 +86,8 @@ jobs: # - Test # Wait for tests to finish steps: - - name: Checkout - uses: actions/checkout@v4 - 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: Checkout with LFS + uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main - name: Setup Godot id: setup-godot @@ -134,6 +105,9 @@ 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 + ls -la + pwd + echo ${{ github.workspace }} - name: Upload to Itch uses: KikimoraGames/itch-publish@v0.0.3 @@ -142,5 +116,5 @@ jobs: itchUsername: ${{ env.ITCHIO_USERNAME }} itchGameId: ${{ env.ITCHIO_GAMEID }} buildNumber: 0.1.0 # ${{ needs.BumpTag.outputs.tag_name }} - gameData: Windows.zip + gameData: ${{ github.workspace }}/Windows.zip buildChannel: windows