From e20c65e3fba259163736a25ca933ac0bdd46e588 Mon Sep 17 00:00:00 2001 From: wumpus <96006583+EvilWumpus@users.noreply.github.com> Date: Tue, 6 Jun 2023 02:17:31 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 44e436d..fc2b3de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,2 +1,26 @@ -- name: Auto Release - uses: CupOfTea696/gh-action-auto-release@v1.0.2 +# 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 }}