better condition
This commit is contained in:
parent
6e25ce5ee8
commit
16ecb5d9f5
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release_stable.yml
vendored
4
.github/workflows/release_stable.yml
vendored
|
@ -90,13 +90,13 @@ jobs:
|
|||
branch: ${{ needs.check_image.outputs.version }}
|
||||
|
||||
- name: notcreated
|
||||
if: ((needs.check_image.outputs.has_branch == 'false') || (github.event.inputs.force_rebuild == 'true')) && (steps.create.outputs.created == 'false')
|
||||
if: (steps.create.outputs.created != 'true')
|
||||
run: |
|
||||
SUMMARY=$'Branch ${{ needs.check_image.outputs.version }} has not been created.'
|
||||
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
- name: created
|
||||
if: ((needs.check_image.outputs.has_branch == 'false') || (github.event.inputs.force_rebuild == 'true')) && (steps.create.outputs.created == 'true')
|
||||
if: (steps.create.outputs.created == 'true')
|
||||
run: |
|
||||
SUMMARY=$' Branch ${{ needs.check_image.outputs.version }} has been created.'
|
||||
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
||||
|
|
Loading…
Reference in a new issue