diff --git a/.github/workflows/autorelease.yml b/.github/workflows/autorelease.yml deleted file mode 100644 index 0e8b111..0000000 --- a/.github/workflows/autorelease.yml +++ /dev/null @@ -1,24 +0,0 @@ -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 }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..048e0ca --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,16 @@ +on: + push: + branches: + - main + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + id: release + with: + release-type: go + package-name: \ No newline at end of file