Skip to content

Commit

Permalink
ci: Use softprops/action-gh-release
Browse files Browse the repository at this point in the history
actions/create-release is deprecated

Signed-off-by: Woomymy <woomy@woomy.be>
  • Loading branch information
Woomymy committed Feb 1, 2023
1 parent 5344422 commit c3b6e00
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,11 @@ jobs:
run: echo tag=$(echo ${GITHUB_REF##*/}) >> "${GITHUB_OUTPUT}"
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag.outputs.tag}}
release_name: Release ${{ steps.tag.outputs.tag }}
body_path: 'changelog.txt'
draft: false
token: ${{ secrets.GITHUB_TOKEN }}

build-and-push-image:
needs: ['compile', 'lint']
runs-on: ubuntu-latest
Expand Down

0 comments on commit c3b6e00

Please # to comment.