testing ci
This commit is contained in:
@@ -20,12 +20,12 @@ jobs:
|
|||||||
tag_name: ${{ steps.bump-tag.outputs.new_tag }}
|
tag_name: ${{ steps.bump-tag.outputs.new_tag }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
lfs: false
|
lfs: false
|
||||||
- name: Remove buggy pre-push hook
|
# - name: Remove buggy pre-push hook
|
||||||
run: |
|
# run: |
|
||||||
rm -f .git/hooks/pre-push
|
# rm -f .git/hooks/pre-push
|
||||||
- name: Bump version and push tag
|
- name: Bump version and push tag
|
||||||
id: bump-tag
|
id: bump-tag
|
||||||
uses: anothrNick/github-tag-action@v1
|
uses: anothrNick/github-tag-action@v1
|
||||||
@@ -39,8 +39,8 @@ 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: |
|
||||||
@@ -55,11 +55,13 @@ jobs:
|
|||||||
- name: Checkout LFS
|
- name: Checkout LFS
|
||||||
run: |
|
run: |
|
||||||
git lfs install --local
|
git lfs install --local
|
||||||
echo coucou
|
echo ${{ gitea.server_url }}
|
||||||
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||||
|
echo ${{ gitea.repository }}
|
||||||
AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
|
AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
|
||||||
git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader
|
|
||||||
echo sandwich
|
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"
|
git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
echo bite
|
echo bite
|
||||||
git lfs pull
|
git lfs pull
|
||||||
@@ -85,8 +87,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
|
||||||
@@ -104,8 +106,12 @@ jobs:
|
|||||||
nvm install 24
|
nvm install 24
|
||||||
node -v
|
node -v
|
||||||
|
|
||||||
|
- name: Test node version
|
||||||
|
run: |
|
||||||
|
node -v
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
lfs: false
|
lfs: false
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
|
|||||||
Reference in New Issue
Block a user