Skip to content

Commit

Permalink
Merge pull request #2071 from authzed/stop-using-yaml-anchors
Browse files Browse the repository at this point in the history
Stop using yaml anchors in release action configuration
  • Loading branch information
tstirrat15 committed Sep 19, 2024
2 parents c5a5aff + 624c67c commit f813abe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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 --config=.goreleaser.windows.yml"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down Expand Up @@ -69,7 +71,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 --clean"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit f813abe

Please sign in to comment.