Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
run: pnpm install --frozen-lockfile --ignore-scripts
working-directory: npm

- uses: goreleaser/goreleaser-action@v5
- uses: goreleaser/goreleaser-action@v6
with:
version: 1.19.0
Comment on lines +97 to 99
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning: This upgrade to goreleaser-action@v6 introduces a breaking change that may cause compatibility issues with your current configuration.

The PR changes the action version to v6, but maintains the GoReleaser version at 1.19.0 (which is a v1 release). According to the release notes, v6 of the action defaults to using GoReleaser v2, which is incompatible with your specified version.

To resolve this, either:

  1. Update to a GoReleaser v2 version in the version parameter, or
  2. Explicitly set the distribution parameter to goreleaser instead of the default goreleaser-pro

For more details on upgrading, see the GoReleaser v2 upgrade guide.

Suggested change
- uses: goreleaser/goreleaser-action@v6
with:
version: 1.19.0
- uses: goreleaser/goreleaser-action@v6
with:
version: 1.19.0
distribution: goreleaser

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

args: build --clean --snapshot
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id: tag-name
run: echo "::set-output name=tag-name::${GITHUB_REF#refs/tags/}"

- uses: goreleaser/goreleaser-action@v5
- uses: goreleaser/goreleaser-action@v6
with:
version: 1.19.0
args: release
Expand Down