ci: trying to fetch LFS by themselves
This commit is contained in:
@ -49,8 +49,19 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: false
|
||||||
token: ${{ secrets.token }}
|
- name: Checkout LFS
|
||||||
|
run: |
|
||||||
|
UrlBase=$GITHUB_SERVER_URL; \
|
||||||
|
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
|
||||||
|
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
|
||||||
|
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
|
||||||
|
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
|
||||||
|
|
||||||
|
git config --local lfs.transfer.maxretries 1
|
||||||
|
|
||||||
|
/usr/bin/git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
|
||||||
|
/usr/bin/git lfs checkout
|
||||||
- name: Import resources and build solution
|
- name: Import resources and build solution
|
||||||
run: |
|
run: |
|
||||||
godot --headless --editor --build-solutions --quit --import --path $PWD
|
godot --headless --editor --build-solutions --quit --import --path $PWD
|
||||||
|
Reference in New Issue
Block a user