From f3066f70ef1abc42148f2f631d7629a3cc3ff0d2 Mon Sep 17 00:00:00 2001 From: Yaron Kaikov Date: Thu, 9 Nov 2023 14:31:30 +0200 Subject: [PATCH] [release workflow]:modify publish args MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release workflow suppose to skip publish when new tags are being pushed but we get the following warning ``` /opt/hostedtoolcache/goreleaser-action/1.21.2/x64/goreleaser release --skip-publish • starting release... • loading path=.goreleaser.yaml • DEPRECATED: --skip-publish was deprecated in favor of --skip=publish, check https://goreleaser.com/deprecations#-skip for more details • skipping announce and publish... ``` Modify the workflow so we will skip the publish part --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa13c9c6ea..c2ae61ac2e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,6 @@ jobs: with: version: latest workdir: dist - args: release --skip-publish + args: release --skip=publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}