ci: attempt to fix lfs fetch
Some checks failed
create archive with lfs / tag (push) Failing after 3s
Some checks failed
create archive with lfs / tag (push) Failing after 3s
This commit is contained in:
parent
2bc70bcf07
commit
f08a6df7b4
@ -12,7 +12,14 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
lfs: true
|
||||
lfs: false
|
||||
- name: Checkout LFS
|
||||
run: |
|
||||
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 checkout
|
||||
- uses: https://gitea.com/actions/gitea-release-action@v1
|
||||
with:
|
||||
files: |-
|
||||
|
Loading…
Reference in New Issue
Block a user