chore(ci): Fix the condition for cancel action

This commit is contained in:
Donny/강동윤 2022-02-16 15:18:55 +09:00
parent 6173bb88fd
commit d66f701a4a

View File

@ -73,12 +73,11 @@ jobs:
working-directory: scripts/bot
run: |
npx ts-node src/cargo/bump.ts
echo "::set-output name=STATUS::$?"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Cancel if there's no change
if: steps.bump.outputs.STATUS != '0'
if: steps.bump.outcome != 'success' || steps.bump.conclusion != 'success'
uses: andymckay/cancel-action@0.2
- name: Update changelog