Pull LFS from forks as well.

This commit is contained in:
Stanislas Dolcini 2025-03-12 09:57:14 +01:00 committed by Stan
parent a09b2cc242
commit a8d7a3312c
No known key found for this signature in database
GPG key ID: 244943DFF8370D60

View file

@ -6,6 +6,8 @@ on:
jobs:
checkrefs:
runs-on: ubuntu-latest
env:
GIT_LFS_SKIP_SMUDGE: "1"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@ -16,8 +18,14 @@ jobs:
run: >
git config --local
http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/.extraheader ''
- name: Add remote fork origin for LFS
run: >
git remote add ${{ gitea.actor }} \
git@gitea.wildfiregames.com:${{ gitea.actor }}/${{ gitea.head_ref }}.git
- name: Download necessary LFS assets
run: git lfs pull -I binaries/data/mods/public/maps
run: >
git lfs pull -I binaries/data/mods/public/maps &&
git lfs pull ${{ gitea.actor }} -I binaries/data/mods/public/maps
- name: Check for missing references
run: |
./source/tools/entity/checkrefs.py \