diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 3daad65..87c8550 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -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