Skip to content

Commit

Permalink
Merge pull request #419 from authzed/stop-using-yaml-anchors
Browse files Browse the repository at this point in the history
Get rid of anchor syntax in release yaml
  • Loading branch information
vroldanbet committed Sep 19, 2024
2 parents 2bea8cb + 41f5e73 commit e4ccc20
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 @@ -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 }}"
Expand All @@ -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 }}"
Expand Down

0 comments on commit e4ccc20

Please sign in to comment.