We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207eaa1 commit 1f9b6f8Copy full SHA for 1f9b6f8
.github/workflows/context.yml
@@ -0,0 +1,23 @@
1
+name: Context Example Workflow
2
+
3
+on: [push]
4
5
+jobs:
6
+ example-job:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout repository
11
+ uses: actions/checkout@v2
12
13
+ - name: Print GitHub context
14
+ run: "echo \"Repository: ${{ github.repository }}\""
15
16
+ - name: Print Job context
17
+ run: "echo \"Job ID: ${{ job.id }}\""
18
19
+ - name: Print Runner context
20
+ run: "echo \"Runner OS: ${{ runner.os }}\""
21
22
+ - name: Print Secrets context
23
+ run: "echo \"Secret Token: ${{ secrets.GITHUB_TOKEN }}\""
.github/workflows/runner-self-hosted.yml
.github/workflows/workflow_commands.yml
0 commit comments