From 1f2cc8245b981ac5f0cd4e7ddb5baf1c9975d9f0 Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Sun, 15 Aug 2021 13:34:26 +0200 Subject: [PATCH] dry run on tags and no release branch --- .github/workflows/build_and_release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index fa41bd8d..d0cae488 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -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/github-tag-action@v5.6 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