Workaround for LFS double authentication header
All checks were successful
Generate Website / Generate Website (push) Successful in 17s
All checks were successful
Generate Website / Generate Website (push) Successful in 17s
This commit is contained in:
parent
24ffad8ed4
commit
008d00375b
1 changed files with 11 additions and 2 deletions
|
@ -35,9 +35,18 @@ jobs:
|
||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
templates/assets
|
templates/assets
|
||||||
dist
|
dist
|
||||||
lfs: true
|
|
||||||
show-progress: true
|
|
||||||
path: suo
|
path: suo
|
||||||
|
- name: Pull from LFS
|
||||||
|
run: |
|
||||||
|
# Double authentication header workaround for actions/checkout@v4
|
||||||
|
# https://github.com/actions/checkout/issues/1830#issuecomment-2314758792
|
||||||
|
AUTH=$(git -C suo config --local http.$SERVER/.extraheader)
|
||||||
|
git -C suo config --local --unset http.$SERVER/.extraheader
|
||||||
|
git -C suo config --local http.$SERVER/$REPOSITORY/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
|
git -C suo lfs pull
|
||||||
|
env:
|
||||||
|
SERVER: ${{ github.server_url }}
|
||||||
|
REPOSITORY: sapphirus.org/Suo
|
||||||
- name: Fetch suo binary
|
- name: Fetch suo binary
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue