From 2a44b8a0761b4814f1f8015f7dbdc81ee8e43ee4 Mon Sep 17 00:00:00 2001 From: Sergio Casizzone <30697838+jambtc@users.noreply.github.com> Date: Fri, 30 Jun 2023 11:29:32 +0200 Subject: [PATCH] Create autoRelease.yml --- .github/workflows/autoRelease.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/autoRelease.yml diff --git a/.github/workflows/autoRelease.yml b/.github/workflows/autoRelease.yml new file mode 100644 index 0000000..fc2b3de --- /dev/null +++ b/.github/workflows/autoRelease.yml @@ -0,0 +1,26 @@ +# This is a basic workflow to help you get started with the GitHub Auto-Release on Commit Action. + +name: AutoRelease + +on: + push: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + release: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - uses: actions/checkout@v2 + - uses: CupOfTea696/gh-action-auto-release@v1.0.0 + with: + title: "Release: $version" + tag: "v$semver" + draft: false + regex: "/^Release: #{semver}$/i" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}