Skip to content

Commit

Permalink
dry run on tags and no release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon committed Aug 15, 2021
1 parent 0a3ef7a commit 1f2cc82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ jobs:
run: tar zvcf build.tgz build

- name: Bump version and push tag
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: none
pre_release_branches: main,build-and-release
dry_run: ${{ startsWith(github.ref, 'refs/tags/') }} # dry run if tag and generate output

- uses: haya14busa/action-cond@v1
id: condval
Expand Down

0 comments on commit 1f2cc82

Please sign in to comment.