From 05a299ff3f6e560d923b9cdf3095cbda8fcce78a Mon Sep 17 00:00:00 2001 From: kozmod Date: Thu, 19 Jan 2023 07:56:16 +0300 Subject: [PATCH] release job config fix --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 240003e..feb7506 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,14 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.19 - - name: Release + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: - distribution: release + # either 'goreleaser' (default) or 'goreleaser-pro' + distribution: goreleaser version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} + # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution + # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} \ No newline at end of file