更新 .gitea/workflows/demo.yaml
Process Python Script on PR / process-python (pull_request) Failing after 33s
Process Python Script on PR / process-python (pull_request) Failing after 33s
This commit is contained in:
@@ -11,11 +11,16 @@ jobs:
|
||||
process-python:
|
||||
runs-on: auto_judgement_py
|
||||
steps:
|
||||
- name: test
|
||||
- name: Output GitHub Context
|
||||
id: output-context
|
||||
run: |
|
||||
env > /app/env.txt
|
||||
echo "${{secrets.ACCESS_TOKEN}}"
|
||||
cp -r /root/.cache/act /app/cache/
|
||||
# Loop through all properties in the github context
|
||||
for key in $(echo '${{ toJson(github) }}' | jq -r 'keys[]'); do
|
||||
value=$(echo '${{ toJson(github) }}' | jq -r .$key)
|
||||
echo "Property Name: $key"
|
||||
echo "Property Value: $value"
|
||||
echo "-------------------------"
|
||||
done
|
||||
|
||||
- name: Checkout PR code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user