Update ci.yml

This commit is contained in:
Mamy Ratsimbazafy 2020-09-30 16:50:13 +02:00 committed by GitHub
parent 19ed330f74
commit bdc864da0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ jobs:
- name: Cancel Previous Runs (except master/devel)
if: >
steps.get_branch.outputs.branch_name == 'master' ||
steps.get_branch.outputs.branch_name == 'devel'
steps.get_branch.outputs.branch_name != 'master' &&
steps.get_branch.outputs.branch_name != 'devel'
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}