Explorar el Código

test: workflow context

走鹃 hace 3 años
padre
commit
1abcddc4e1
Se han modificado 1 ficheros con 20 adiciones y 0 borrados
  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) }}'