Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 23, 2024
1 parent 350abac commit fad8b80
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "build-and-cache"
name: "build-nix-devshells"
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches: [ main ]
branches: [ main, next ]
pull_request:
branches: [ main ]

Expand Down Expand Up @@ -43,6 +43,14 @@ jobs:
run: |
cd ./nix/fixtures/module-repo
nix flake update hc-infra
cachix watch-exec holochain-open-dev -- nix build --no-update-lock-file --accept-flake-config -L .#my_zome.meta.debug
- name: Build zomes
if: matrix.os == 'ubuntu-latest'
env:
CACHIX_AUTH_TOKEN: "${{ secrets.CACHIX_TOKEN_HOLOCHAIN_OPEN_DEV }}"
run: |
cd ./nix/fixtures/module-repo
cachix watch-exec holochain-open-dev -- nix build --no-update-lock-file --accept-flake-config -L .#my_zome
- name: Test zomes
Expand Down

0 comments on commit fad8b80

Please sign in to comment.