update WF
This commit is contained in:
32
.github/workflows/build.yaml
vendored
32
.github/workflows/build.yaml
vendored
@@ -23,21 +23,23 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
- name: Checkout LFS
|
with:
|
||||||
if: ${{ inputs.lfs == 'true' }}
|
lfs: ${{ inputs.lfs == 'true' }}
|
||||||
run: |
|
# - name: Checkout LFS
|
||||||
UrlBase=$GITHUB_SERVER_URL; \
|
# if: ${{ inputs.lfs == 'true' }}
|
||||||
UrlLfsBase=$UrlBase/${{ github.repository }}.git/info/lfs/objects; \
|
# run: |
|
||||||
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
|
# UrlBase=$GITHUB_SERVER_URL; \
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
|
# UrlLfsBase=$UrlBase/${{ github.repository }}.git/info/lfs/objects; \
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
|
# Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
|
||||||
|
# /usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
|
||||||
git config --local lfs.transfer.maxretries 1
|
# /usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
|
||||||
git ls-remote
|
#
|
||||||
git lfs checkout
|
# git config --local lfs.transfer.maxretries 1
|
||||||
git lfs fetch
|
# git ls-remote
|
||||||
git lfs pull
|
# git lfs checkout
|
||||||
#git lfs fetch origin refs/heads/${{ github.head_ref || github.ref_name }}
|
# git lfs fetch
|
||||||
|
# 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user