From a079be4292af1f54e2c9a7f42eebd6f980e58c5b Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 29 Apr 2023 03:25:50 +0200 Subject: [PATCH] Automatic releases --- .github/workflows/build.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7421cfd..9b73de3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,15 +66,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Create tag - uses: rickstaa/action-create-tag@v1 - id: "tag_create" - if: ${{ false }} + name: Create a Release + uses: elgohr/Github-Release-Action@v4 + env: + GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: - tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" - tag_exists_error: false - message: "Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" - github_token: ${{ secrets.GITHUB_TOKEN }} + args: "${{ secrets.MAJOR }}.${{ secrets.MINOR }}" + title: Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }} - name: Update minor version uses: hmanzur/actions-set-secret@v2.0.0