Skip to content

Commit

Permalink
Just skip validate
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-zorn committed Aug 15, 2024
1 parent d6d346b commit bcca72b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/mike-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit bcca72b

Please sign in to comment.