diff --git a/.github/workflows/release-windows.yaml b/.github/workflows/release-windows.yaml index c38be64862..e6a24e0794 100644 --- a/.github/workflows/release-windows.yaml +++ b/.github/workflows/release-windows.yaml @@ -1,11 +1,9 @@ --- name: "Release for Windows" on: # yamllint disable-line rule:truthy - #push: - #tags: - #- "*" - pull_request: - branches: ["*"] + push: + tags: + - "*" permissions: contents: "write" packages: "write" @@ -21,10 +19,6 @@ jobs: id: "version" with: prefix: "v" - #- name: "Fail for an invalid version (windows)" - #if: "${{ !startsWith(github.ref_name, 'v') || steps.version.outputs.is_valid != 'true' }}" - #run: 'echo "SpiceDB version must start with `v` and be a semver" && exit 1' - #shell: "bash" - uses: "authzed/actions/docker-login@main" with: quayio_token: "${{ secrets.QUAYIO_PASSWORD }}" @@ -36,11 +30,8 @@ jobs: # NOTE: keep in sync with goreleaser version in other job. # github actions don't allow yaml anchors. version: "v2.3.2" - args: "release --clean --skip=validate --config=.goreleaser.windows.yml" + 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 }}" - # TODO: remove these - GORELEASER_CURRENT_TAG: "v1.37.1" - GORELEASER_PREVIOUS_TAG: "v1.37.0"