Skip to content

Commit d120984

Browse files
committed
print context with github-script
1 parent 838dcf4 commit d120984

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
test:
1111
runs-on: ubuntu-20.04
1212
steps:
13-
- name: Dump GitHub context
14-
env:
15-
GITHUB_CONTEXT: ${{ toJson(github) }}
16-
run: echo "$GITHUB_CONTEXT"
13+
- name: View context attributes
14+
uses: actions/github-script@v6
15+
with:
16+
script: console.log(context)
1717
- name: Translate Repo Name For Build Tools filename_prefix
1818
id: repo-name
1919
run: |

0 commit comments

Comments
 (0)