Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Jul 26, 2024
1 parent 65a4f8a commit 49dc1e1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release-action.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: Release

on:
workflow_run:
workflows: [Test]
types:
- completed
branches:
- main
push:
tags:
- "v*.*.*"

jobs:
release:
runs-on: "ubuntu-latest"
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event_name == 'create' && github.event.ref_type == 'tag' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -31,6 +27,8 @@ jobs:
unset tag
shell: bash
- uses: "softprops/action-gh-release@v2"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
generate_release_notes: true
make_latest: true
Expand Down

0 comments on commit 49dc1e1

Please sign in to comment.