testing ci
Some checks failed
Create tag and build when new code gets to main / Test (push) Failing after 13s
Create tag and build when new code gets to main / BumpTag (push) Successful in 25s
Create tag and build when new code gets to main / Export (push) Failing after 52s

This commit is contained in:
2026-01-28 12:48:28 +01:00
parent 867554b835
commit 02ec230b3f

View File

@@ -54,12 +54,18 @@ jobs:
- 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
UrlBase=$GITHUB_SERVER_URL; \
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
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: Run tests
uses: godot-gdunit-labs/gdUnit4-action@v1
@@ -91,30 +97,36 @@ jobs:
image: barichello/godot-ci:mono-4.6
steps:
- name: Install node, curl and zip
- name: Install curl and zip
run: |
apt update && apt -y install curl zip nodejs
apt update && apt -y install curl zip
- name: Install node 24
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 24
node -v
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
lfs: false
persist-credentials: true
# - name: Checkout LFS
# run: |
# UrlBase=$GITHUB_SERVER_URL; \
# UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
# Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
# /usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
# /usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
#
# 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 LFS
run: |
UrlBase=$GITHUB_SERVER_URL; \
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
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
@@ -122,14 +134,14 @@ jobs:
# 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
# - 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
# - name: Remove GDUnit addon folder because it breaks the build
# run: |