Skip to content

Build and cache all the things #26

Build and cache all the things

Build and cache all the things #26

Workflow file for this run

name: Build and cache all the things
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [cluster-runner]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@v16
with:
init: none
- name: Magic
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Install omnix
run: nix --accept-flake-config profile install "github:juspay/omnix"
- name: Build
run: om ci run -o built.json -- --refresh --sandbox -j auto --cores 0