diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4dbaf5c..1db2a76 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,7 +21,9 @@ jobs: - uses: "goreleaser/goreleaser-action@v6" with: distribution: "goreleaser-pro" - version: &goreleaser_version "2.3.2" + # NOTE: keep in sync with goreleaser version in other job. + # github actions don't allow yaml anchors. + version: "2.3.2" args: "release --clean" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" @@ -46,7 +48,9 @@ jobs: - uses: "goreleaser/goreleaser-action@v6" with: distribution: "goreleaser-pro" - version: *goreleaser_version + # NOTE: keep in sync with goreleaser version in other job. + # github actions don't allow yaml anchors. + version: "2.3.2" args: "release --config=.goreleaser.docker.yml --clean" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"