Skip to content

Bump actions/cache from 4.0.2 to 4.1.0 (#175) #189

Bump actions/cache from 4.0.2 to 4.1.0 (#175)

Bump actions/cache from 4.0.2 to 4.1.0 (#175) #189

Workflow file for this run

name: Cachix
on:
push:
branches: [ main ]
jobs:
shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
github_access_token: '${{ secrets.GITHUB_TOKEN }}'
- name: Cachix
uses: cachix/cachix-action@v15
with:
name: nanoledger
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: true
- run: nix build -L --no-link .#devShells.$(nix eval --impure --expr "builtins.currentSystem").nanoledger
- run: nix eval --json ".#devShells.$(nix eval --impure --expr 'builtins.currentSystem').nanoledger.outPath" | sed 's/"\(.*\)"/\1/' | cachix push nanoledger