File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Cachix
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-20.04
11+ steps :
12+ # Clone repo
13+ - uses : actions/checkout@v3
14+ with :
15+ submodules : recursive
16+
17+ - uses : handelsblattmediagroup/lix-quick-install-action@v3.0.4
18+
19+ - name : Cachix setup
20+ uses : cachix/cachix-action@v12
21+ with :
22+ name : somasis
23+ # you need to create the secret named CACHIX_AUTH_TOKEN
24+ # with the personal access token created.
25+ authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
26+ skipPush : true
27+
28+ # Build a configuration.nix file that doesn't use flakes
29+ # and push to cachix.
30+ - name : Build ilo
31+ run : nix-build . -A nixosConfigurations.ilo.config.system.build.toplevel --keep-going
32+
33+ - name : Cache built derivation
34+ run : realpath result | cachix push somasis
You can’t perform that action at this time.
0 commit comments