Skip to content

Commit

Permalink
Update Build and Publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Mar 21, 2024
1 parent da1f9da commit 89c8fd5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/Build and Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,18 @@ jobs:

publish_github_release:
name: Publish Github Release
needs: publish_release
needs: get_tags
if: ${{ needs.get_tags.outputs.BRANCH_NAME == 'main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Release
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
- name: Release - ${{ steps.package-version.outputs.current-version}}
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
draft: false
draft: false
tag_name: ${{ steps.package-version.outputs.current-version}}

0 comments on commit 89c8fd5

Please sign in to comment.