diff --git a/.gitea/workflows/checkrefs.yml b/.gitea/workflows/checkrefs.yml index 27846603b2..11946bbe9c 100644 --- a/.gitea/workflows/checkrefs.yml +++ b/.gitea/workflows/checkrefs.yml @@ -13,9 +13,15 @@ jobs: run: pip3 install lxml - name: Workaround for authentication problem with LFS # https://gitea.com/gitea/act_runner/issues/164 - run: > - git config --local - http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/.extraheader '' + # https://github.com/actions/checkout/issues/1830 + run: | + git lfs install --local + AUTH=$(git config --local http.${{ gitea.server_url }}/.extraheader) + git config --local --unset http.${{ gitea.server_url }}/.extraheader + git config --local \ + http.${{gitea.server_url}}/${{gitea.repository}}.git/info/lfs/objects/batch.extraheader \ + "$AUTH" + git lfs fetch --all - name: Download necessary LFS assets run: git lfs pull -I binaries/data/mods/public/maps - name: Check for missing references