diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 9dd1f0f3..2dee8490 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -54,13 +54,14 @@ jobs: - name: Checkout LFS run: | - apt-get update && apt-get install -y git-lfs - git lfs update --force || true git lfs install --local + echo coucou AUTH=$(git config http.${{ gitea.server_url }}/.extraheader) 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 http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" + echo bite git lfs pull - name: Run tests @@ -104,7 +105,7 @@ jobs: node -v - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v3 with: lfs: false persist-credentials: true