diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e3111ce..1f63a12 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,15 +1,12 @@ -name: goreleaser +name: release on: push: - # run only against tags tags: - '*' permissions: contents: write - # packages: write - # issues: write jobs: goreleaser: @@ -22,16 +19,10 @@ jobs: - uses: actions/setup-go@v4 with: go-version: stable - # More assembly might be required: Docker logins, GPG, etc. It all depends - # on your needs. - uses: goreleaser/goreleaser-action@v4 with: - # either 'goreleaser' (default) or 'goreleaser-pro': distribution: goreleaser version: latest args: release -f ./deploy/.goreleaser.yaml --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' - # distribution: - # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}