mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 21:31:15 -07:00
treat input success and failure as boolean
Contributes to CURA-9365
This commit is contained in:
parent
5616bae098
commit
24f1170c29
1 changed files with 2 additions and 2 deletions
4
.github/workflows/notify.yml
vendored
4
.github/workflows/notify.yml
vendored
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Slack notify on-success
|
- name: Slack notify on-success
|
||||||
if: ${{ inputs.success == 'true' }}
|
if: ${{ inputs.success }}
|
||||||
uses: rtCamp/action-slack-notify@v2
|
uses: rtCamp/action-slack-notify@v2
|
||||||
env:
|
env:
|
||||||
SLACK_USERNAME: ${{ github.repository }}
|
SLACK_USERNAME: ${{ github.repository }}
|
||||||
|
|
@ -43,7 +43,7 @@ jobs:
|
||||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
|
|
||||||
- name: Slack notify on-failure
|
- name: Slack notify on-failure
|
||||||
if: ${{ inputs.success == 'false' }}
|
if: ${{ inputs.success }}
|
||||||
uses: rtCamp/action-slack-notify@v2
|
uses: rtCamp/action-slack-notify@v2
|
||||||
env:
|
env:
|
||||||
SLACK_USERNAME: ${{ github.repository }}
|
SLACK_USERNAME: ${{ github.repository }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue