Skip to content

Commit

Permalink
ci: Build flake outputs on self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 5, 2024
1 parent 698bef6 commit 1b68d40
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: ["main"]
pull_request:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: x86_64-linux

steps:
- uses: actions/checkout@v4

- uses: cachix/cachix-action@v15
with:
name: nammayatri
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
skipPush: true

- name: Build all flake outputs
run: om ci

0 comments on commit 1b68d40

Please sign in to comment.