Mylloon 2024-08-28 16:43:30 +02:00
parent 912f16e0c3
commit 8cedeb531d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -14,10 +14,9 @@ jobs:
- name: Checkout LFS - name: Checkout LFS
run: | run: |
# Replace double auth header, see https://github.com/actions/checkout/issues/1830 # Replace double auth header, see https://github.com/actions/checkout/issues/1830
UrlLfsBase=${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects AUTH=$(git config --local http.${{ github.server_url }}/.extraheader)
Auth=`git config --get --local http.${{ github.server_url }}/.extraheader` git config --local --unset http.${{ github.server_url }}/.extraheader
git config --local http.${UrlLfsBase}/batch.extraheader "$Auth" git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git config --local http.${UrlLfsBase}/.extraheader ""
# Get files # Get files
git lfs fetch git lfs fetch