Skip to content

Commit ff04e82

Browse files
authored
Update build_nix.yml
1 parent a006106 commit ff04e82

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎.github/workflows/build_nix.yml‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@ on:
55
- cron: '0 0 * * 1'
66
workflow_dispatch:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.run_number) || github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
1115
timeout-minutes: 60
1216
if: ${{ github.actor != 'dependabot[bot]' }}
1317
steps:
14-
- uses: styfle/cancel-workflow-action@0.12.0
15-
name: Cancel Outdated Builds
16-
with:
17-
all_but_latest: true
18-
access_token: ${{ github.token }}
19-
2018
- name: Install Nix
2119
uses: cachix/install-nix-action@v25
2220

0 commit comments

Comments
 (0)