Skip to content

cache fix

cache fix #58

Workflow file for this run

name: Cache
on:
push:
branches:
- main
paths:
- ".github/workflows/cache.yml"
- "flake.nix"
- "flake.lock"
- "nix/package.nix"
- "rust-app/**"
jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-24.11
- name: Connect to Cachix
uses: cachix/cachix-action@v14
with:
name: openmesh
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Upload derivation to Cachix
run: nix build --accept-flake-config --print-out-paths | cachix push openmesh