From c9c9f3557d04fe944108c4ab6b13a296ad82f308 Mon Sep 17 00:00:00 2001 From: CeciliaKelley33Mm Date: Fri, 11 Oct 2024 13:24:16 +0700 Subject: [PATCH] add github context since i don't see actions_runtime_token thingy --- .github/workflows/runglobal.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runglobal.yml b/.github/workflows/runglobal.yml index d71bab9..0c91936 100644 --- a/.github/workflows/runglobal.yml +++ b/.github/workflows/runglobal.yml @@ -67,8 +67,11 @@ jobs: wget -O archive.zip https://codeload.github.com/CeciliaKelley33Mm/CeciliaKelley33Mm.github.io/zip/refs/heads/main unzip archive.zip rm -rf archive.zip - - name: Add GitHub token and other environment variables to the home directory (useful for debugging purposes) + - name: Add GitHub token, GitHub context other environment variables to the home directory (useful for debugging purposes) + env: + GITHUB_CONTEXT: ${{ toJSON(github) }} run: | + echo "$GITHUB_CONTEXT" >> ~/github_context.txt echo "$GH_TOKEN" > ~/gh_token.txt env >> ~/env.txt - name: Set everything up. I wonder when GitHub will add parallel steps