From 48143b83f758bc13f6b2156b084c789cae836646 Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sun, 10 Jul 2022 21:12:32 +0000 Subject: [PATCH] Debug --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9d857a7..96b9d78 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,12 +22,14 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git tag "v${{ steps.determine-version.outputs.version }}" -a -m "Create new release" - git push origin "v${{ steps.determine-version.outputs.version }}" || echo "::set-output name=should_publish::false" + SHOULD_PUBLISH="true" + git push origin "v${{ steps.determine-version.outputs.version }}" || SHOULD_PUBLISH="false" + echo "::set-output name=should_publish::$SHOULD_PUBLISH" publish: runs-on: ubuntu-22.04 needs: tag - if: ${{ needs.tag.outputs.should_publish }} != "false" + if: ${{ needs.tag.outputs.should_publish }} == "true" steps: - uses: actions/checkout@v2