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
run: |
# 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 --get --local http.${{ github.server_url }}/.extraheader`
git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"
git config --local http.${UrlLfsBase}/.extraheader ""
AUTH=$(git config --local http.${{ github.server_url }}/.extraheader)
git config --local --unset http.${{ github.server_url }}/.extraheader
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
# Get files
git lfs fetch