Skip to content

Configure SSH key handling in CI workflow #57

Configure SSH key handling in CI workflow

Configure SSH key handling in CI workflow #57

Workflow file for this run

name: "Nix Omnix CI"
on:
push:
pull_request:
jobs:
build:
runs-on: [self-hosted]
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Install Cachix and Omnix
run: "nix profile install --accept-flake-config github:juspay/omnix nixpkgs#cachix"
- name: Authenticate Cachix
run: "cachix authtoken ${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build all flake outputs and push to Cachix
run: "om ci | cachix push hyprflake"