]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔊 Add debugging logs for GitHub actions to introspect GitHub hidden context (#1764)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 22 Jul 2020 06:43:26 +0000 (08:43 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2020 06:43:26 +0000 (08:43 +0200)
.github/workflows/build-docs.yml
.github/workflows/publish.yml

index 9c2349923b58e8b35aa9df21b0aa37fe109e65cd..beda6bbd7b701d8f70c1716dbd5d59a03ec50ddb 100644 (file)
@@ -7,6 +7,10 @@ jobs:
   build:
     runs-on: ubuntu-18.04
     steps:
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"
       - uses: actions/checkout@v2
       - name: Set up Python
         uses: actions/setup-python@v1
index cd63e6c356e6bc385bf838bc8158cf7e186f1741..9c5f2d729efae0a332b60c77d29535ad90d9e1b2 100644 (file)
@@ -9,6 +9,10 @@ jobs:
   publish:
     runs-on: ubuntu-latest
     steps:
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"
       - uses: actions/checkout@v2
       - name: Set up Python
         uses: actions/setup-python@v1