Bläddra i källkod

test: workflow context

走鹃 3 år sedan
förälder
incheckning
1abcddc4e1
1 ändrade filer med 20 tillägg och 0 borttagningar
  1. 20 0
      .github/workflows/test-context.yml

+ 20 - 0
.github/workflows/test-context.yml

@@ -0,0 +1,20 @@
+name: Context testing
+on: push
+
+jobs:
+  dump_contexts_to_log:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Dump GitHub context
+        id: github_context_step
+        run: echo '${{ toJSON(github) }}'
+      - name: Dump job context
+        run: echo '${{ toJSON(job) }}'
+      - name: Dump steps context
+        run: echo '${{ toJSON(steps) }}'
+      - name: Dump runner context
+        run: echo '${{ toJSON(runner) }}'
+      - name: Dump strategy context
+        run: echo '${{ toJSON(strategy) }}'
+      - name: Dump matrix context
+        run: echo '${{ toJSON(matrix) }}'