From 12927c17ea3aff7b1d2f3045235111df3abe0a19 Mon Sep 17 00:00:00 2001 From: dm Date: Tue, 13 Aug 2024 09:50:06 +0800 Subject: [PATCH] 20 --- .gitea/workflows/build.yaml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1530e70..b64c286 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,8 +9,6 @@ jobs: image: catthehacker/ubuntu:act-latest volumes: - ubuntu_hostedtoolcache:/opt/hostedtoolcache - # env: - # RUNNER_TOOL_CACHE: /toolcache steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" @@ -18,21 +16,8 @@ jobs: - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - run: echo "🍏 This job's status is ${{ job.status }}." - - run: docker version - # - name: Set up SSH - # run: | - # mkdir -p ~/.ssh - # echo "${{ secrets.GITEA1_SSH_KEY }}" > ~/.ssh/id_rsa - # chmod 600 ~/.ssh/id_rsa - # ssh-keyscan -H 106.14.174.241 >> ~/.ssh/known_hosts - # - name: Check out repository code - # env: - # GITEA_TOKEN: ${{ secrets.GITEA1_TOKEN }} - # run: git clone root@106.14.174.241:3000/root/simple-go-action.git . - # 检出代码 - + - run: docker versio - name: Checkout - # 从本地 Gitea 上加载插件仓库 uses: http://106.14.174.241:3000//actions/checkout@v4 with: fetch-depth: 0