Fix cancel-workflow-action in build.yaml

This commit is contained in:
Muhammad Atif Ali 2024-04-23 19:38:08 +03:00
parent a8594f9945
commit 6fa4e73106
1 changed files with 4 additions and 3 deletions

View File

@ -57,9 +57,10 @@ jobs:
fail-fast: false
name: images/ubuntu
steps:
- name: Cancel previous runs
if: github.event_name == 'pull_request'
uses: styfle/cancel-workflow-action@0.12.1
# TODO uncomment when the action is fixed
# - name: Cancel previous runs
# if: github.event_name == 'pull_request'
# uses: styfle/cancel-workflow-action@0.12.1
- name: Checkout
uses: actions/checkout@v4