retry lfs

This commit is contained in:
2025-02-07 12:00:00 +03:00
parent 629ea8ce44
commit 9ed6ee4e59

View File

@@ -23,23 +23,21 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@master
with: - name: Checkout LFS
lfs: ${{ inputs.lfs }} if: ${{ inputs.lfs }}
# - name: Checkout LFS run: |
# if: ${{ inputs.lfs == 'true' }} UrlBase=$GITHUB_SERVER_URL; \
# run: | UrlLfsBase=$UrlBase/${{ github.repository }}.git/info/lfs/objects; \
# UrlBase=$GITHUB_SERVER_URL; \ Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
# UrlLfsBase=$UrlBase/${{ github.repository }}.git/info/lfs/objects; \ /usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
# Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \ /usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
# /usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
# /usr/bin/git config --local http.${UrlLfsBase}/.extraheader '' git config --local lfs.transfer.maxretries 1
# git ls-remote
# git config --local lfs.transfer.maxretries 1 git lfs checkout
# git ls-remote git lfs fetch
# git lfs checkout git lfs pull
# git lfs fetch #git lfs fetch origin refs/heads/${{ github.head_ref || github.ref_name }}
# git lfs pull
# #git lfs fetch origin refs/heads/${{ github.head_ref || github.ref_name }}
- name: Use ssh key - name: Use ssh key
uses: webfactory/ssh-agent@v0.9.0 uses: webfactory/ssh-agent@v0.9.0
with: with: