Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e4ab103c4d | |||
| 3b6cf0252b | |||
| e908cd3085 | |||
| 6b23fdbd26 | |||
| ea6258ff19 | |||
| 5e54f0f83b |
@@ -22,6 +22,7 @@ jobs:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
lfs: false
|
||||
- name: Remove buggy pre-push hook
|
||||
run: |
|
||||
@@ -39,28 +40,44 @@ jobs:
|
||||
|
||||
Test:
|
||||
runs-on: godot
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||
# env:
|
||||
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||
steps:
|
||||
# - name: Install node, xvfb and curl
|
||||
# run: |
|
||||
# apt update && apt -y install curl nodejs xvfb
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
lfs: false
|
||||
persist-credentials: true
|
||||
|
||||
# - name: Checkout LFS
|
||||
# run: |
|
||||
# git lfs install --local
|
||||
# echo ${{ gitea.server_url }}
|
||||
# AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||
# echo ${{ gitea.repository }}
|
||||
# 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
|
||||
|
||||
- name: Checkout LFS
|
||||
run: |
|
||||
apt-get update && apt-get install -y git-lfs
|
||||
git lfs update --force || true
|
||||
git lfs install --local
|
||||
echo toto
|
||||
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"
|
||||
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
|
||||
@@ -84,8 +101,8 @@ jobs:
|
||||
|
||||
Export:
|
||||
runs-on: godot
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||
# env:
|
||||
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||
# needs:
|
||||
# - BumpTag
|
||||
# - Test # Wait for tests to finish
|
||||
@@ -93,9 +110,10 @@ jobs:
|
||||
image: barichello/godot-ci:mono-4.6
|
||||
|
||||
steps:
|
||||
- name: Install curl and zip
|
||||
- name: Install tools
|
||||
run: |
|
||||
apt update && apt -y install curl zip
|
||||
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
|
||||
@@ -103,8 +121,12 @@ jobs:
|
||||
nvm install 24
|
||||
node -v
|
||||
|
||||
- name: Test node version
|
||||
run: |
|
||||
node -v
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: false
|
||||
persist-credentials: true
|
||||
|
||||
Reference in New Issue
Block a user