From bcb62d2fa9da34c73b5542ee3c95aa388a63e274 Mon Sep 17 00:00:00 2001 From: yixinnb <1667511790@qq.com> Date: Fri, 28 Feb 2025 17:31:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20readme.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 7813681..0eac414 100644 --- a/readme.md +++ b/readme.md @@ -1 +1 @@ -5 \ No newline at end of file +tttt \ No newline at end of file -- 2.54.0 From 366db709d9568fa2500512c1007bac30b2dc9b5b Mon Sep 17 00:00:00 2001 From: yixinnb <1667511790@qq.com> Date: Fri, 28 Feb 2025 21:56:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/demo.?= =?UTF-8?q?yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/demo.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 66ea232..010a3a2 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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 -- 2.54.0