From 49dc1e1aee8fc79c780163357687599c2deb88c9 Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Thu, 25 Jul 2024 18:38:24 -0600 Subject: [PATCH] Fix release action Signed-off-by: Ethan Dye --- .github/workflows/release-action.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml index 31d54bc..463d333 100644 --- a/.github/workflows/release-action.yml +++ b/.github/workflows/release-action.yml @@ -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 @@ -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