A continuation of HomeBox the inventory and organization system built for the Home User
Let us test binary builds without publishing new tags
Matthew Kilgorecbbe056d0133
diff --git a/.github/workflows/binaries-publish.yaml b/.github/workflows/binaries-publish.yamlindex de222a30..4cced6c9 100644--- a/.github/workflows/binaries-publish.yaml+++ b/.github/workflows/binaries-publish.yaml@@ -1,6 +1,7 @@name: Publish Release Binarieson:+ workflow_dispatch:push:tags: [ 'v*.*.*' ]@@ -8,6 +9,10 @@ jobs:goreleaser:name: goreleaserruns-on: ubuntu-latest+ permissions:+ contents: write+ packages: write+ id-token: writesteps:- name: Checkoutuses: actions/checkout@v4@@ -37,6 +42,7 @@ jobs:go install github.com/sigstore/cosign/cmd/cosign@latest- name: Run GoReleaser+ if: startsWith(github.ref, 'refs/tags/')uses: goreleaser/goreleaser-action@v5with:workdir: "backend"@@ -46,4 +52,17 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}COSIGN_PWD: ${{ secrets.COSIGN_PWD }}- COSIGN_YES: "true"+ COSIGN_YES: "true"++ - name: Run GoReleaser (No Publish)+ if: !startsWith(github.ref, 'refs/tags/')+ uses: goreleaser/goreleaser-action@v5+ with:+ workdir: "backend"+ distribution: goreleaser+ version: "~> v2"+ args: release --clean --skip=publish,validate+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ COSIGN_PWD: ${{ secrets.COSIGN_PWD }}+ COSIGN_YES: "true"\ No newline at end of file