Skip to content

Commit

Permalink
Merge pull request #26 from timmyb824/ci/ci-add-conditional3
Browse files Browse the repository at this point in the history
  • Loading branch information
timmyb824 authored Aug 22, 2023
2 parents 4c3eb66 + e6b8b29 commit f6b0864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ jobs:
echo "VERSION_OUTPUT<<EOF" >> $GITHUB_ENV
echo "$VERSION" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo env.VERSION_OUTPUT
echo ${{ env.VERSION_OUTPUT }}
- name: Check release output and terminate if no new version
if: contains(env.VERSION_OUTPUT, 'No new version to release') && contains(env.VERSION_OUTPUT, 'has already been released!')
if: contains(${{ env.VERSION_OUTPUT }}, 'No new version to release') && contains(${{ env.VERSION_OUTPUT }}, 'has already been released!')
run: |
echo "No new version to release. Ending workflow."
exit 0
Expand Down

0 comments on commit f6b0864

Please sign in to comment.