Skip to content

Commit

Permalink
publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Jun 24, 2022
1 parent 50be329 commit 26d8976
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Release"
name: Release

on:
workflow_dispatch:
Expand All @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
release_body: ${{ steps.latest_draft_release.outputs.body }}
release_id: ${{ steps.latest_draft_release.outputs.id }}
release_tag: ${{ steps.latest_draft_release.outputs.tag_name }}
release_upload_url: ${{ steps.latest_draft_release.outputs.upload_url }}
steps:
Expand Down Expand Up @@ -65,3 +66,8 @@ jobs:
branch: main
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
- uses: eregon/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ needs.get_draft_release.outputs.release_id }}

0 comments on commit 26d8976

Please sign in to comment.