Skip to content

Commit

Permalink
Update build_nix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancient123 authored Mar 11, 2024
1 parent a006106 commit ff04e82
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build_nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@ on:
- cron: '0 0 * * 1'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.run_number) || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: styfle/[email protected]
name: Cancel Outdated Builds
with:
all_but_latest: true
access_token: ${{ github.token }}

- name: Install Nix
uses: cachix/install-nix-action@v25

Expand Down

0 comments on commit ff04e82

Please sign in to comment.