-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2087 from authzed/fix-windows-release-process
Add currently-enabled workflow to release windows
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: "Release for Windows" | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
tags: | ||
- "*" | ||
permissions: | ||
contents: "write" | ||
packages: "write" | ||
jobs: | ||
release-windows: | ||
runs-on: "windows-latest" | ||
steps: | ||
- uses: "actions/checkout@v4" | ||
with: | ||
fetch-depth: 0 | ||
- uses: "authzed/actions/setup-go@main" | ||
- uses: "nowsprinting/check-version-format-action@v4" | ||
id: "version" | ||
with: | ||
prefix: "v" | ||
- uses: "authzed/actions/docker-login@main" | ||
with: | ||
quayio_token: "${{ secrets.QUAYIO_PASSWORD }}" | ||
github_token: "${{ secrets.GITHUB_TOKEN }}" | ||
dockerhub_token: "${{ secrets.DOCKERHUB_ACCESS_TOKEN }}" | ||
- uses: "goreleaser/goreleaser-action@v6" | ||
with: | ||
distribution: "goreleaser-pro" | ||
# NOTE: keep in sync with goreleaser version in other job. | ||
# github actions don't allow yaml anchors. | ||
version: "v2.3.2" | ||
args: "release --clean --config=.goreleaser.windows.yml" | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
GORELEASER_KEY: "${{ secrets.GORELEASER_KEY }}" | ||
CHOCOLATEY_API_KEY: "${{ secrets.CHOCOLATEY_API_KEY }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters