ci: attempt to fix lfs fetch 2
All checks were successful
create archive with lfs / tag (push) Successful in 13s
All checks were successful
create archive with lfs / tag (push) Successful in 13s
This commit is contained in:
parent
f08a6df7b4
commit
6d238134b2
@ -18,7 +18,7 @@ jobs:
|
|||||||
function EscapeForwardSlash() { echo "$1" | sed 's/\//\\\//g'; }
|
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
|
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 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
|
git lfs checkout
|
||||||
- uses: https://gitea.com/actions/gitea-release-action@v1
|
- uses: https://gitea.com/actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user