diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index c41cbf75..06a7009e 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -54,32 +54,32 @@ jobs: lfs: false persist-credentials: true - - name: Checkout LFS - run: | - git lfs install --local - 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) - 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 - # - name: Checkout LFS # run: | # git lfs install --local -# echo toto +# echo ${{ gitea.server_url }} # AUTH=$(git config http.${{ gitea.server_url }}/.extraheader) -# echo tata -# git config --local --unset http.${{ github.server_url }}/.extraheader -# echo http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader -# git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" +# echo ${{ gitea.repository }} +# AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path) +# 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 + - name: Checkout LFS + run: | + git lfs install --local + echo toto + AUTH=$(git config http.${{ gitea.server_url }}/.extraheader) + echo tata + git config --local --unset http.${{ github.server_url }}/.extraheader + echo http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader + git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" + echo bite + git lfs pull + - name: Run tests uses: godot-gdunit-labs/gdUnit4-action@v1 with: @@ -112,7 +112,18 @@ jobs: steps: - name: Install tools run: | - apt update && apt -y install curl zip nodejs + apt update && apt -y install curl zip + + - name: Install node 24 + run: | + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash + \. "$HOME/.nvm/nvm.sh" + nvm install 24 + node -v + + - name: Test node version + run: | + node -v - name: Checkout uses: actions/checkout@v3