-
Notifications
You must be signed in to change notification settings - Fork 4
29 lines (29 loc) · 912 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Test
'on': push
jobs:
build-2-21:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: pants-nix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build '.#"release_2.21.0"'
- run: nix shell '.#"release_2.21.0"' --command pants --version
build-2-22:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: pants-nix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build '.#"release_2.22.0"'
- run: nix shell '.#"release_2.22.0"' --command pants --version