Skip to content

Commit

Permalink
ci: test printing github context
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Oct 16, 2024
1 parent c11fa4f commit c2e7034
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
# https://github.com/orgs/community/discussions/26238
if: ${{ !github.event.workflow_run || github.event.workflow_run.conclusion == 'success' }}
steps:
- if: ${{ !startsWith(github.ref, 'refs/tags/') || github.event.workflow_run }}
- name: print github context
env:
GITHUB_CONTEXT; ${{ toJSON(github) }}
run: echo $GITHUB_CONTEXT
- if: ${{ !startsWith(github.ref, 'refs/tags/') && !github.event.workflow_run }}
run: echo "flags=--snapshot" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit c2e7034

Please sign in to comment.