-
Notifications
You must be signed in to change notification settings - Fork 26
38 lines (37 loc) · 858 Bytes
/
cachix.yml
File metadata and controls
38 lines (37 loc) · 858 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
33
34
35
36
37
38
name: "Cachix build"
on:
push:
branches-ignore:
- "renovate/**"
- "docs/**"
paths-ignore:
- "docs"
- "**.md"
- "packages"
- ".github/ISSUE_TEMPLATE"
- ".markdownlint"
pull_request:
paths-ignore:
- "docs"
- "**.md"
- "flake.lock"
- "packages"
- ".github/ISSUE_TEMPLATE"
- ".markdownlint"
workflow_dispatch:
jobs:
build-and-cache:
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: freesmlauncher
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix-build | cachix push freesmlauncher
- run: |
nix develop
echo "OK"