Skip to content

Commit 6a20b7f

Browse files
committed
add github action
1 parent 087af88 commit 6a20b7f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Build"
2+
on:
3+
pull_request:
4+
push:
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: cachix/install-nix-action@v18
11+
with:
12+
extra_nix_config: |
13+
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
14+
- uses: cachix/cachix-action@v12
15+
with:
16+
name: wobcom-public
17+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
18+
- run: nix build --log-format bar-with-logs -v

0 commit comments

Comments
 (0)