ci: install git lfs to repo
Some checks failed
create archive with lfs / tag (push) Failing after 8s
Some checks failed
create archive with lfs / tag (push) Failing after 8s
This commit is contained in:
parent
3a42cb17c9
commit
4a12b2b8b3
@ -18,6 +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 install --local
|
||||||
git lfs fetch origin refs/tags/${{ gitea.ref_name }}
|
git lfs fetch origin refs/tags/${{ gitea.ref_name }}
|
||||||
git lfs checkout
|
git lfs checkout
|
||||||
- run: tar czf source.tar.gz --directory=. .
|
- run: tar czf source.tar.gz --directory=. .
|
||||||
|
Loading…
Reference in New Issue
Block a user