Skip to content

Commit

Permalink
Create GitHub Release
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelton-gov committed Dec 6, 2023
1 parent 1cedf3b commit 01c1b0a
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,31 @@ jobs:
cd ${{ github.workspace }}/releases/
ls
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false
# - name: Semantic Release
# uses: cycjimmy/semantic-release-action@v2
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# npm_token: ${{ secrets.NPM_TOKEN }}

- name: Upload Release Asset
uses: actions/upload-artifact@v2
with:
name: ${{ steps.metadata.outputs.archive }}
path: ${{ github.workspace }}/releases/${{ steps.metadata.outputs.archive }}
# - name: Upload Release Asset
# uses: actions/upload-artifact@v2
# with:
# name: ${{ steps.metadata.outputs.archive }}
# path: ${{ github.workspace }}/releases/${{ steps.metadata.outputs.archive }}



Expand Down

0 comments on commit 01c1b0a

Please sign in to comment.