From 76da38ed8de56a3ab2c090a0283ce12a226481cb Mon Sep 17 00:00:00 2001 From: Gabriel Filipe Guimaraes de Freitas Date: Tue, 31 Oct 2023 23:26:34 -0300 Subject: [PATCH] update release workflow --- .github/workflows/release.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfe8b47..2272773 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,23 +5,12 @@ on: name: Create Release jobs: - build: - name: Create Release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Create Release - id: create_release - uses: actions/create-release@v1 + release-on-push: + runs-on: ubuntu-latest 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 \ No newline at end of file + steps: + - uses: rymndhng/release-on-push-action@master + with: + bump_version_scheme: minor + use_github_release_notes: true \ No newline at end of file