From 01c1b0ac793b72c1b944d044f6aadb9fecbae18e Mon Sep 17 00:00:00 2001 From: Martin-Belton-gov Date: Wed, 6 Dec 2023 10:44:13 +0000 Subject: [PATCH] Create GitHub Release --- .github/workflows/release.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01f7ee8..0454617 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}