ci: attempt to fix lfs fetch 2
All checks were successful
create archive with lfs / tag (push) Successful in 13s

This commit is contained in:
dusk 2024-09-26 20:57:28 +03:00
parent f08a6df7b4
commit 6d238134b2
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -18,7 +18,7 @@ jobs:
function EscapeForwardSlash() { echo "$1" | sed 's/\//\\\//g'; }
readonly ReplaceStr="EscapeForwardSlash ${{ gitea.repository }}.git/info/lfs/objects/batch"; sed -i "s/\(\[http\)\( \".*\)\"\]/\1\2`$ReplaceStr`\"]/" .git/config
git config --local lfs.transfer.maxretries 1
git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
git lfs fetch origin refs/tags/${{ gitea.ref_name }}
git lfs checkout
- uses: https://gitea.com/actions/gitea-release-action@v1
with: