Maybe this works

This commit is contained in:
Joel Wachsler
2022-07-10 21:26:33 +00:00
parent 6b23387e86
commit 01642f2c6a
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -22,8 +22,8 @@ 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"
SHOULD_PUBLISH="true"
git push origin "v${{ steps.determine-version.outputs.version }}" || 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"
- name: Result
@@ -33,7 +33,7 @@ jobs:
publish:
runs-on: ubuntu-22.04
needs: tag
if: ${{ needs.tag.outputs.should_publish == true }}
if: ${{ needs.tag.outputs.should_publish == 'true' }}
steps:
- uses: actions/checkout@v2