更新 .gitea/workflows/流水线上下文详情.yml
Context testing / dump_contexts_to_log (push) Successful in 2s Details
Context testing / job3 (push) Failing after 5s Details

This commit is contained in:
p79813206 2025-02-13 08:37:00 +08:00
parent df6634a99e
commit dab6dd05b6
1 changed files with 8 additions and 18 deletions

View File

@ -57,22 +57,12 @@ jobs:
job3:
runs-on: ubuntu-latest
steps:
- id: step1
run: echo "job===========${{ github.job }}"
- id: step5
name: "日志接口地址run_number"
run: echo "3======${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}/jobs/0"
- name: Dump jobs context
env:
JOBS_CONTEXT: ${{ toJson(jobs) }}
run: echo "$JOBS_CONTEXT"
- id: step6
run: |
ls /var/run/act/workflow/
echo "log setp5...................."
cat /var/run/act/workflow/step5
echo "log setp4...................."
cat /var/run/act/workflow/envs.txt
echo "log setp6...................."
cat /var/run/act/workflow/SUMMARY.md
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami