Skip to content

Commit 9b73988

Browse files
committed
ci: test printing github context
1 parent c11fa4f commit 9b73988

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ jobs:
3030
# https://github.com/orgs/community/discussions/26238
3131
if: ${{ !github.event.workflow_run || github.event.workflow_run.conclusion == 'success' }}
3232
steps:
33-
- if: ${{ !startsWith(github.ref, 'refs/tags/') || github.event.workflow_run }}
33+
- name: print github context
34+
env:
35+
GITHUB_CONTEXT: ${{ toJSON(github) }}
36+
run: echo $GITHUB_CONTEXT
37+
- if: ${{ !startsWith(github.ref, 'refs/tags/') && !github.event.workflow_run }}
3438
run: echo "flags=--snapshot" >> $GITHUB_ENV
3539
- uses: actions/checkout@v4
3640
with:

0 commit comments

Comments
 (0)