mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Pull LFS from forks as well.
This commit is contained in:
parent
a09b2cc242
commit
a8d7a3312c
1 changed files with 9 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue