FUUUUCK FUUUUUUUUUUCK
This commit is contained in:
@@ -95,19 +95,39 @@ jobs:
|
|||||||
apt update && apt -y install curl zip nodejs
|
apt update && apt -y install curl zip nodejs
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
lfs: false
|
lfs: false
|
||||||
persist-credentials: true
|
|
||||||
|
|
||||||
- name: Checkout LFS
|
- name: Checkout LFS
|
||||||
run: |
|
run: |
|
||||||
git lfs install --local
|
UrlBase=$GITHUB_SERVER_URL; \
|
||||||
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
|
||||||
AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
|
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
|
||||||
git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader
|
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
|
||||||
git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
|
||||||
git lfs pull
|
|
||||||
|
git config --local lfs.transfer.maxretries 1
|
||||||
|
|
||||||
|
/usr/bin/git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
|
||||||
|
/usr/bin/git lfs checkout
|
||||||
|
/usr/bin/git add .
|
||||||
|
/usr/bin/git reset --hard
|
||||||
|
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v6
|
||||||
|
# with:
|
||||||
|
# lfs: false
|
||||||
|
# persist-credentials: true
|
||||||
|
#
|
||||||
|
# - name: Checkout LFS
|
||||||
|
# run: |
|
||||||
|
# git lfs install --local
|
||||||
|
# AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||||
|
# AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
|
||||||
|
# git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader
|
||||||
|
# git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
|
# git lfs pull
|
||||||
|
|
||||||
# GDUnit action replacement while waiting for 4.6 support
|
# GDUnit action replacement while waiting for 4.6 support
|
||||||
- name: Import resources and build solution
|
- name: Import resources and build solution
|
||||||
|
|||||||
Reference in New Issue
Block a user