From 41f5e73d0721bb5df81fb4d5dc178085780be8e1 Mon Sep 17 00:00:00 2001 From: Tanner Stirrat Date: Thu, 19 Sep 2024 09:38:29 -0600 Subject: [PATCH] Get rid of anchor syntax --- .github/workflows/release.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 }}"