Skip to content

Commit

Permalink
Revert "Revert "ci/main: use 'concurrency' instead of 'styfle/cancel-…
Browse files Browse the repository at this point in the history
…workflow-action'""
  • Loading branch information
alaindargelas authored Nov 25, 2022
1 parent f81bed2 commit 67541c1
Showing 1 changed file with 4 additions and 43 deletions.
47 changes: 4 additions & 43 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: 'main'

concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
pull_request:
Expand All @@ -24,11 +28,6 @@ jobs:

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install dependencies
run: |
sudo apt-get update -qq
Expand Down Expand Up @@ -110,11 +109,6 @@ jobs:

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install dependencies
run: |
sudo apt-get update -qq
Expand Down Expand Up @@ -211,11 +205,6 @@ jobs:

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install dependencies
run: |
sudo apt-get update -qq
Expand Down Expand Up @@ -321,11 +310,6 @@ jobs:

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install dependencies
run: |
sudo apt-get update -qq
Expand Down Expand Up @@ -391,11 +375,6 @@ jobs:

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Setup Java
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -538,11 +517,6 @@ jobs:

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Core Dependencies
run: |
choco install -y make
Expand Down Expand Up @@ -692,11 +666,6 @@ jobs:

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Core Dependencies
run: |
choco install -y make
Expand Down Expand Up @@ -815,10 +784,6 @@ jobs:
- clang

steps:
- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Setup Java
uses: actions/setup-java@v3
Expand Down Expand Up @@ -946,10 +911,6 @@ jobs:
runs-on: ubuntu-20.04

steps:
- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Dependencies
run: |
Expand Down

0 comments on commit 67541c1

Please sign in to comment.