ci: trying custom checkout action

This commit is contained in:
2025-06-16 08:40:32 +02:00
parent 706a495e2b
commit eb1fd4296b

View File

@ -46,22 +46,10 @@ jobs:
- name: Install node, curl and zip
run: |
apt update && apt -y install curl zip nodejs
- name: Checkout
uses: actions/checkout@v3
- name: Checkout with LFS
uses: https://git.game-dev.space/minimata/checkout-lfs.git@main
with:
lfs: false
- 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
checkout-version: 3
- name: Import resources and build solution
run: |
godot --headless --editor --build-solutions --quit --import --path $PWD