ci: trying custom checkout action
This commit is contained in:
@ -46,22 +46,10 @@ jobs:
|
|||||||
- name: Install node, curl and zip
|
- name: Install node, curl and zip
|
||||||
run: |
|
run: |
|
||||||
apt update && apt -y install curl zip nodejs
|
apt update && apt -y install curl zip nodejs
|
||||||
- name: Checkout
|
- name: Checkout with LFS
|
||||||
uses: actions/checkout@v3
|
uses: https://git.game-dev.space/minimata/checkout-lfs.git@main
|
||||||
with:
|
with:
|
||||||
lfs: false
|
checkout-version: 3
|
||||||
- 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