20
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s Details

This commit is contained in:
dm 2024-08-13 09:50:06 +08:00
parent 083c0ca7f2
commit 12927c17ea
1 changed files with 1 additions and 16 deletions

View File

@ -9,8 +9,6 @@ jobs:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
volumes: volumes:
- ubuntu_hostedtoolcache:/opt/hostedtoolcache - ubuntu_hostedtoolcache:/opt/hostedtoolcache
# env:
# RUNNER_TOOL_CACHE: /toolcache
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - 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!" - 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 ${{ 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 "🖥️ The workflow is now ready to test your code on the runner."
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
- run: docker version - run: docker versio
# - 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 .
# 检出代码
- name: Checkout - name: Checkout
# 从本地 Gitea 上加载插件仓库
uses: http://106.14.174.241:3000//actions/checkout@v4 uses: http://106.14.174.241:3000//actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0