testing ci
This commit is contained in:
@@ -22,6 +22,7 @@ jobs:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
lfs: false
|
||||
- name: Remove buggy pre-push hook
|
||||
run: |
|
||||
@@ -49,35 +50,36 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
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: |
|
||||
git lfs install --local
|
||||
echo toto
|
||||
echo ${{ gitea.server_url }}
|
||||
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||
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 ${{ 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: |
|
||||
# git lfs install --local
|
||||
# echo toto
|
||||
# AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||
# 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
|
||||
uses: godot-gdunit-labs/gdUnit4-action@v1
|
||||
with:
|
||||
@@ -111,22 +113,21 @@ jobs:
|
||||
- name: Install curl and zip
|
||||
run: |
|
||||
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: Test node version
|
||||
# run: |
|
||||
# node -v
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
- name: Install node 24
|
||||
shell: bash -l {0}
|
||||
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: Test node version
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
node -v
|
||||
|
||||
- name: Checkout
|
||||
shell: bash -l {0}
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
lfs: false
|
||||
|
||||
Reference in New Issue
Block a user