Skip to content

Commit

Permalink
cleaned up github action for building IHP
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jul 14, 2023
1 parent 7d42a5b commit 0f8797e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ jobs:
mv Makefile Makefile.old
echo 'GHC_OPTIONS+= -rtsopts=all\n.SHELLFLAGS := -eu -o pipefail -c\n\n'|cat - Makefile.old > Makefile
nix-shell --run "new-application Web && make build/bin/RunUnoptimizedProdServer"
- run: |
- name: Build IHP app
run: |
cd ihp-boilerplate && nix develop --impure --profile ihp-boilerplate-profile --command "true"
- name: Push IHP app to cachix
# Cachix doesn't natively support nix flakes in it's cachix-action
# See https://github.com/cachix/cachix-action/issues/47
cachix push digitallyinduced ihp-boilerplate-profile
# Also build the framework's dev env
- run: |
- name: Build framework devShell
run: |
nix develop --impure --profile ihp-profile --command "true"
cachix push digitallyinduced ihp-profile
- name: Push framework devShell to cachix
run: cachix push digitallyinduced ihp-profile

0 comments on commit 0f8797e

Please sign in to comment.