-
-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (35 loc) · 1.12 KB
/
cache-devshells.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "build-scaffold-tauri-app"
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches: [ main ]
jobs:
build-and-cache:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: holochain-ci
- uses: cachix/cachix-action@v14
with:
name: holochain-open-dev
- uses: cachix/cachix-action@v14
with:
name: darksoil-studio
- name: Cache holochainTauriDev
env:
CACHIX_AUTH_TOKEN: "${{ secrets.DARKSOIL_CACHIX_AUTH_TOKEN }}"
run: |
nix develop --profile holochainTauriDev -c true .#holochainTauriDev
cachix push darksoil-studio holochainTauriDev
nix develop --profile holochainTauriAndroidDev -c true .#holochainTauriAndroidDev
cachix push darksoil-studio holochainTauriAndroidDev