Skip to content

Commit

Permalink
Add release job to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
katybaulch committed Mar 6, 2024
1 parent 5a768e5 commit 30ce878
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Debug
run: |
echo ${{ github.event_name }}
echo ${{ github.ref }}
echo ${{ github.event.pull_request.head.ref }}
echo ${{ github.event.pull_request.base.ref }}
echo ${{ github.event }}

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Create Git release
uses: ncipollo/[email protected]
with:
token: "${{ secrets.GITHUB_TOKEN }}"
generateReleaseNotes: true
makeLatest: true
prerelease: false
tag: ${{ inputs.new_tag }}

0 comments on commit 30ce878

Please sign in to comment.