Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b6cf0252b | |||
| e908cd3085 | |||
| 6b23fdbd26 | |||
| ea6258ff19 | |||
| 5e54f0f83b | |||
| f00439a430 |
@@ -22,6 +22,7 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.TOKEN }}
|
||||||
lfs: false
|
lfs: false
|
||||||
- name: Remove buggy pre-push hook
|
- name: Remove buggy pre-push hook
|
||||||
run: |
|
run: |
|
||||||
@@ -39,33 +40,45 @@ jobs:
|
|||||||
|
|
||||||
Test:
|
Test:
|
||||||
runs-on: godot
|
runs-on: godot
|
||||||
env:
|
# env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||||
steps:
|
steps:
|
||||||
# - name: Install node, xvfb and curl
|
# - name: Install node, xvfb and curl
|
||||||
# run: |
|
# run: |
|
||||||
# apt update && apt -y install curl nodejs xvfb
|
# apt update && apt -y install curl nodejs xvfb
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.TOKEN }}
|
||||||
lfs: false
|
lfs: false
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
|
|
||||||
- name: Checkout LFS
|
- name: Checkout LFS
|
||||||
run: |
|
run: |
|
||||||
UrlBase=$GITHUB_SERVER_URL; \
|
git lfs install --local
|
||||||
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
|
echo ${{ gitea.server_url }}
|
||||||
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
|
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
|
echo ${{ gitea.repository }}
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
|
AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
|
||||||
|
echo sandwich
|
||||||
|
git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader
|
||||||
|
echo teub
|
||||||
|
git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
|
echo bite
|
||||||
|
git lfs pull
|
||||||
|
|
||||||
git config --local lfs.transfer.maxretries 1
|
# - name: Checkout LFS
|
||||||
|
# run: |
|
||||||
/usr/bin/git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
|
# git lfs install --local
|
||||||
/usr/bin/git lfs checkout
|
# echo toto
|
||||||
/usr/bin/git add .
|
# AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||||
/usr/bin/git reset --hard
|
# echo tata
|
||||||
|
# git config --local --unset http.${{ github.server_url }}/.extraheader
|
||||||
|
# echo http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader
|
||||||
|
# git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
|
# echo bite
|
||||||
|
# git lfs pull
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: godot-gdunit-labs/gdUnit4-action@v1
|
uses: godot-gdunit-labs/gdUnit4-action@v1
|
||||||
@@ -88,8 +101,8 @@ jobs:
|
|||||||
|
|
||||||
Export:
|
Export:
|
||||||
runs-on: godot
|
runs-on: godot
|
||||||
env:
|
# env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||||
# needs:
|
# needs:
|
||||||
# - BumpTag
|
# - BumpTag
|
||||||
# - Test # Wait for tests to finish
|
# - Test # Wait for tests to finish
|
||||||
@@ -97,18 +110,12 @@ jobs:
|
|||||||
image: barichello/godot-ci:mono-4.6
|
image: barichello/godot-ci:mono-4.6
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install curl and zip
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
apt update && apt -y install curl zip
|
apt update && apt -y install curl zip nodejs
|
||||||
- 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
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
lfs: false
|
lfs: false
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
|
|||||||
Reference in New Issue
Block a user