You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
• release succeeded after 14s
Error: end of the stream or a document separator is expected (6:1)
3 | env:
4 | - CGO_ENABLED=0
5 |
6 | project_name: test
-----^
7 | builds:
8 | - <<: *build_base
GoReleaser does support YAML anchor, but goreleaser-action seems parsing .goreleaser.yml by different yaml library which doesn't support anchor.
Workaround
Use goreleaser-action with install-only: true option, and run goreleaser command in different step.
Reproduction of the issue: at-wat/goreleaser-repro-action-anchor#1
When
.goreleaser.yml
contains YAML anchor like,goreleaser/goreleaser-action
fails with an error:GoReleaser does support YAML anchor, but
goreleaser-action
seems parsing.goreleaser.yml
by different yaml library which doesn't support anchor.Workaround
Use
goreleaser-action
withinstall-only: true
option, and rungoreleaser
command in different step.The text was updated successfully, but these errors were encountered: