update WF

This commit is contained in:
2025-02-06 21:02:53 +03:00
parent a51a5e9f12
commit e7bb18341c

View File

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