From bcca72b43a1df9d00ae23ca0cdcd7a1794fd8b20 Mon Sep 17 00:00:00 2001 From: Mike Zorn Date: Thu, 15 Aug 2024 11:36:07 -0700 Subject: [PATCH] Just skip validate --- .github/actions/publish/action.yml | 3 +++ .github/workflows/mike-test-build.yml | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index 258104f7..c6a87a06 100644 --- a/.github/actions/publish/action.yml +++ b/.github/actions/publish/action.yml @@ -14,6 +14,8 @@ inputs: snapshot: description: 'Create a snapshot release by passing --snapshot to goreleaser. See also `goreleaser release --help' default: 'false' + skip: + description: 'Set of steps for goreleaser to skip. See also `goreleaser --skip`' tag: description: 'Tag to upload artifacts to.' required: true @@ -67,6 +69,7 @@ runs: goreleaser release ${{ inputs.dry-run == 'true' && '--skip=publish' || '' }} ${{ inputs.snapshot == 'true' && '--snapshot' || '' }} + ${{ inputs.skip == '' && '' || format('--skip={0}', inputs.skip) }} --config .goreleaser.yaml env: GITHUB_TOKEN: ${{ inputs.token }} diff --git a/.github/workflows/mike-test-build.yml b/.github/workflows/mike-test-build.yml index a7f0b1e9..6359ed0d 100644 --- a/.github/workflows/mike-test-build.yml +++ b/.github/workflows/mike-test-build.yml @@ -37,8 +37,7 @@ jobs: - uses: ./.github/actions/publish id: publish with: - dry-run: 'false' - snapshot: 'true' + skip: 'validate' token: ${{ secrets.GITHUB_TOKEN }} homebrew-gh-secret: ${{secrets.HOMEBREW_DEPLOY_KEY}} tag: ${{ needs.release-please.outputs.tag_name }}