Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Updated profiles

Updated profiles #12

name: "Build and cache nix packages"
on:
push:
branches: [ main ]
jobs:
testbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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: Install and test
run: |
nix develop --command bash -c "pnpm i && pnpm t && pnpm -F @darksoil-studio/notifications build"
- name: Build zomes
env:
CACHIX_AUTH_TOKEN: "$"
run: |
nix build -L .#notifications_integrity.meta.debug
cachix push darksoil-studio $(nix path-info .#notifications_integrity.meta.debug)
cachix pin darksoil-studio notifications_integrity_debug $(nix path-info .#notifications_integrity.meta.debug)
nix build -L .#notifications_integrity
cachix push darksoil-studio $(nix path-info .#notifications_integrity)
cachix pin darksoil-studio notifications_integrity $(nix path-info .#notifications_integrity)
nix build -L .#notifications.meta.debug
cachix push darksoil-studio $(nix path-info .#notifications.meta.debug)
cachix pin darksoil-studio notifications_debug $(nix path-info .#notifications.meta.debug)
nix build -L .#notifications
cachix push darksoil-studio $(nix path-info .#notifications)
cachix pin darksoil-studio notifications$(nix path-info .#notifications)