From ea6258ff1923ee7e0aea138e3f98a3239afbe9c7 Mon Sep 17 00:00:00 2001 From: Minimata Date: Wed, 28 Jan 2026 15:05:12 +0100 Subject: [PATCH] testing ci --- .gitea/workflows/main.yaml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 2dee8490..fb114088 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -20,12 +20,12 @@ jobs: tag_name: ${{ steps.bump-tag.outputs.new_tag }} steps: - name: Check out repository code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: lfs: false - - name: Remove buggy pre-push hook - run: | - rm -f .git/hooks/pre-push +# - name: Remove buggy pre-push hook +# run: | +# rm -f .git/hooks/pre-push - name: Bump version and push tag id: bump-tag uses: anothrNick/github-tag-action@v1 @@ -39,8 +39,8 @@ jobs: Test: runs-on: godot - env: - RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache +# env: +# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache steps: # - name: Install node, xvfb and curl # run: | @@ -55,11 +55,13 @@ jobs: - name: Checkout LFS run: | git lfs install --local - echo coucou + echo ${{ gitea.server_url }} AUTH=$(git config http.${{ gitea.server_url }}/.extraheader) + echo ${{ gitea.repository }} AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path) - git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader echo sandwich + git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader + echo teub git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" echo bite git lfs pull @@ -85,8 +87,8 @@ jobs: Export: runs-on: godot - env: - RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache +# env: +# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache # needs: # - BumpTag # - Test # Wait for tests to finish @@ -104,8 +106,12 @@ jobs: nvm install 24 node -v + - name: Test node version + run: | + node -v + - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: lfs: false persist-credentials: true