goreleaser / goreleaser-action

GitHub Action for GoReleaser
https://github.com/marketplace/actions/goreleaser-action
MIT License
833 stars 73 forks source link

failed with error `error=only configurations files on version: 2 are supported, yours is version: 0, please update your configuration` #466

Closed zhuwenxing closed 3 weeks ago

zhuwenxing commented 3 weeks ago

goreleaser.yaml: https://github.com/zhuwenxing/milvus-backup/blob/main/.goreleaser.yaml

workflow: https://github.com/zhuwenxing/milvus-backup/blob/main/.github/workflows/release.yaml

failed job: https://github.com/zhuwenxing/milvus-backup/actions/runs/9509999157/job/26213818249

zhuwenxing commented 3 weeks ago

fixed by adding version: 2 in goreleaser.yaml

caarlos0 commented 2 weeks ago

it'll only fail with that error if the configuration is invalid, so probably you had another property you needed to update as well.