From 780dc748bc3b3946c927a061d1778d7fe6409f6b Mon Sep 17 00:00:00 2001 From: herryyun <3209851541@qq.com> Date: Thu, 11 Sep 2025 10:44:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build-ima?= =?UTF-8?q?ge.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-image.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index b17e0b4..e41766d 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -24,20 +24,20 @@ jobs: steps: - name: Test token with wget - run: | - echo "Testing token authentication..." - wget -q --header="Authorization: token ${{ secrets.TOKEN }}" \ + run: | + echo "Testing token authentication..." + wget -q --header="Authorization: token ${{ secrets.TOKEN }}" \ --spider https://git.crash.work/api/v1/user || echo "wget test failed" -- name: Test git access - run: | - echo "Testing git clone with token..." - git clone https://${{ secrets.TOKEN }}@git.crash.work/herryyun/checkout.git /tmp/test-checkout - ls -la /tmp/test-checkout - env: - GIT_TERMINAL_PROMPT: 0 + - name: Test git access + run: | + echo "Testing git clone with token..." + git clone https://${{ secrets.TOKEN }}@git.crash.work/herryyun/checkout.git /tmp/test-checkout + ls -la /tmp/test-checkout + env: + GIT_TERMINAL_PROMPT: 0 -- name: Checkout repository - uses: herryyun/checkout@v4.0.0 - with: - token: ${{ secrets.TOKEN }} \ No newline at end of file + - name: Checkout repository + uses: herryyun/checkout@v4.0.0 + with: + token: ${{ secrets.TOKEN }} \ No newline at end of file