-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAML parse error when .goreleaser.yml contains anchor #397
Labels
enhancement
New feature or request
Comments
hmmm, likely export async function getDistPath(yamlfile: string): Promise<string> { @crazy-max we are already using the latest js-yaml, should we try to switch to another lib? |
Argh yeah this is one of the caveats when using this lib: https://github.com/nodeca/js-yaml#caveats Will take a look. |
Looks like we could switch to https://eemeli.org/yaml/#parsing-yaml |
This was referenced May 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: