From 7e23960ff52ebbf8cc29429ac824ebf9113222e9 Mon Sep 17 00:00:00 2001 From: krispyking24 <77263183+krispyking24@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:01:09 +1000 Subject: [PATCH] fix auto compile --- .github/workflows/auto release | 2 -- .github/workflows/auto release.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) delete mode 100644 .github/workflows/auto release create mode 100644 .github/workflows/auto release.yml diff --git a/.github/workflows/auto release b/.github/workflows/auto release deleted file mode 100644 index 98d3731..0000000 --- a/.github/workflows/auto release +++ /dev/null @@ -1,2 +0,0 @@ -- name: Automatic Release -uses: marvinpinto/action-automatic-releases@v1.2.1 \ No newline at end of file diff --git a/.github/workflows/auto release.yml b/.github/workflows/auto release.yml new file mode 100644 index 0000000..fc2b3de --- /dev/null +++ b/.github/workflows/auto release.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 }}