更新 .gitea/workflows/build-image.yml
Some checks failed
Build Gradle Dragonwell Image / build (push) Failing after 0s
Some checks failed
Build Gradle Dragonwell Image / build (push) Failing after 0s
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
wget -q --header="Authorization: token ${{ secrets.TOKEN }}" \
|
wget -q --header="Authorization: token ${{ secrets.TOKEN }}" \
|
||||||
--spider https://git.crash.work/api/v1/user || echo "wget test failed"
|
--spider https://git.crash.work/api/v1/user || echo "wget test failed"
|
||||||
|
|
||||||
- name: Test git access
|
- name: Test git access
|
||||||
run: |
|
run: |
|
||||||
echo "Testing git clone with token..."
|
echo "Testing git clone with token..."
|
||||||
git clone https://${{ secrets.TOKEN }}@git.crash.work/herryyun/checkout.git /tmp/test-checkout
|
git clone https://${{ secrets.TOKEN }}@git.crash.work/herryyun/checkout.git /tmp/test-checkout
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GIT_TERMINAL_PROMPT: 0
|
GIT_TERMINAL_PROMPT: 0
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: herryyun/checkout@v4.0.0
|
uses: herryyun/checkout@v4.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.TOKEN }}
|
token: ${{ secrets.TOKEN }}
|
||||||
Reference in New Issue
Block a user