mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
ci: Run the cancel workflow on generic workers and update action
No need to bottleneck on the self hosted worker(s) when this is a light job that needs to run as soon as possible so that it can cancel early. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
This commit is contained in:
parent
260b3b97d0
commit
1a15fefb27
|
@ -15,9 +15,9 @@ on:
|
|||
|
||||
jobs:
|
||||
cancel-redundant-workflows:
|
||||
runs-on: [self-hosted, Linux]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: styfle/cancel-workflow-action@0.9.1
|
||||
- uses: styfle/cancel-workflow-action@0.10.0
|
||||
with:
|
||||
all_but_latest: true
|
||||
workflow_id: ${{ github.event.workflow.id }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user