diff --git a/.github/workflows/binaries-publish.yaml b/.github/workflows/binaries-publish.yaml index 29aa0be6..d78d9586 100644 --- a/.github/workflows/binaries-publish.yaml +++ b/.github/workflows/binaries-publish.yaml @@ -49,6 +49,18 @@ jobs: distribution: goreleaser version: "~> v2" args: release --clean --yes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COSIGN_PWD: ${{ secrets.COSIGN_PWD }} + + - name: Run GoReleaser Snapshot + if: !startsWith(github.ref, 'refs/tags/') + uses: goreleaser/goreleaser-action@v5 + with: + workdir: "backend" + distribution: goreleaser + version: "~> v2" + args: release --clean --yes --snapshot --skip=publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COSIGN_PWD: ${{ secrets.COSIGN_PWD }} \ No newline at end of file