1
0
forked from 0ad/0ad

Try to fix the pipeline

This commit is contained in:
Stan 2024-09-24 07:48:36 +02:00
parent 30d57d114c
commit dcd2bcd3c4
Signed by: Stan
GPG Key ID: 244943DFF8370D60

View File

@ -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