mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:24:16 +00:00
Pull LFS from forks as well.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user