Skip to content

Commit

Permalink
added release action new
Browse files Browse the repository at this point in the history
Signed-off-by: kumarabd <[email protected]>
  • Loading branch information
kumarabd committed Apr 19, 2021
1 parent 05b7f06 commit 43a5077
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@ jobs:
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} # This token is provided by Actions, you do not need to create your own token
uses: ncipollo/release-action@v1
if: startsWith(github.ref, 'refs/tags/') && success()
with:
tag_name: ${{ github.event.inputs.version }}
release_name: GetNighthawk Release for ${{ github.event.inputs.version }}
body: |
Changes in this Release
- None
draft: false
prerelease: false
token: ${{ secrets.GH_ACCESS_TOKEN }}
tag: ${{ github.event.inputs.version }}
name: GetNighthawk ${{ github.event.inputs.version }}
allowUpdates: true
omitNameDuringUpdate: true
replacesArtifacts: true
build-and-publish:
name: build and publish packages
needs: [release]
Expand Down

0 comments on commit 43a5077

Please sign in to comment.