about summary refs log tree commit diff
path: root/.github/workflows/print-env-vars.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/print-env-vars.yaml')
-rw-r--r--.github/workflows/print-env-vars.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/print-env-vars.yaml b/.github/workflows/print-env-vars.yaml
new file mode 100644
index 0000000..e0e5fa4
--- /dev/null
+++ b/.github/workflows/print-env-vars.yaml
@@ -0,0 +1,15 @@
+name: Printing env variables
+
+on: [push]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    name: printer
+    steps:
+      - name: Print GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"
+      - name: Print github_sha
+        run: echo "$GITHUB_SHA"