Skip to content

CI: add name, cache, and paths to ignore #2

CI: add name, cache, and paths to ignore

CI: add name, cache, and paths to ignore #2

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- "README.md"
- ".gitignore"
workflow_dispatch:
jobs:
build:
name: Build Saturn
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Build
run: nix build
- name: Upload script
uses: actions/upload-artifact@v4.4.3
with:
name: saturn
path: ./result/bin/saturn