-
-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (25 loc) · 731 Bytes
/
nix-build.yml
File metadata and controls
32 lines (25 loc) · 731 Bytes
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
30
31
32
# Workflow to build Nix package and push it to the Cachix binary cache
name: 🛫 Build and push to Cachix
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install Nix
uses: cachix/install-nix-action@v31
- uses: cachix/cachix-action@v16
with:
name: qgisuserconference
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Run flake checks
run: nix flake check
- name: Build with Nix
run: nix build .#website