lfs in action/checkout doesnt work, see https://github.com/actions/checkout/issues/415
This commit is contained in:
parent
8d7de99a40
commit
8fda79576f
1 changed files with 7 additions and 2 deletions
|
@ -10,8 +10,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
|
||||||
lfs: true
|
- name: Checkout LFS
|
||||||
|
run: |
|
||||||
|
ReplaceStr="echo ${{ gitea.repository }}.git/info/lfs/objects/batch" | sed 's/\//\\\//g' ; 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
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
Loading…
Reference in a new issue