Skip to content

Commit

Permalink
Move build to separate action
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed Dec 9, 2024
1 parent d7cbe1a commit 0b9769e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build project

on:
pull_request:
push:

jobs:
build:
name: build targets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/flake-checker-action@v9
- uses: nixbuild/nix-quick-install-action@v29
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build
10 changes: 0 additions & 10 deletions .github/workflows/nix-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ on:
push:

jobs:
build:
name: Build targets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/flake-checker-action@v9
- uses: nixbuild/nix-quick-install-action@v29
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build

nix-matrix:
runs-on: ubuntu-latest
outputs:
Expand Down

0 comments on commit 0b9769e

Please sign in to comment.