testing ci
This commit is contained in:
@@ -23,9 +23,9 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
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
|
||||||
@@ -52,17 +52,29 @@ jobs:
|
|||||||
lfs: false
|
lfs: false
|
||||||
persist-credentials: true
|
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
|
- name: Checkout LFS
|
||||||
run: |
|
run: |
|
||||||
git lfs install --local
|
git lfs install --local
|
||||||
echo ${{ gitea.server_url }}
|
echo toto
|
||||||
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||||
echo ${{ gitea.repository }}
|
echo tata
|
||||||
AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
|
git config --local --unset http.${{ github.server_url }}/.extraheader
|
||||||
echo sandwich
|
echo http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader
|
||||||
git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader
|
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
echo teub
|
|
||||||
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
|
||||||
|
|
||||||
@@ -99,16 +111,20 @@ jobs:
|
|||||||
- name: Install curl and zip
|
- name: Install curl and zip
|
||||||
run: |
|
run: |
|
||||||
apt update && apt -y install curl zip
|
apt update && apt -y install curl zip
|
||||||
- name: Install node 24
|
# - name: Install node 24
|
||||||
run: |
|
# run: |
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
||||||
\. "$HOME/.nvm/nvm.sh"
|
# \. "$HOME/.nvm/nvm.sh"
|
||||||
nvm install 24
|
# nvm install 24
|
||||||
node -v
|
# node -v
|
||||||
|
#
|
||||||
- name: Test node version
|
# - name: Test node version
|
||||||
run: |
|
# run: |
|
||||||
node -v
|
# node -v
|
||||||
|
- name: Install node
|
||||||
|
uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|||||||
Reference in New Issue
Block a user