Files
nix-config/.github/workflows/cachix.yml
dependabot[bot] e878efc491 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-29 08:31:00 -04:00

26 lines
525 B
YAML

name: "Build and push to cachix"
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '*.md'
- 'LICENSE'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v10
with:
name: davegallant
authToken: '${{ secrets.CACHIX_API_KEY }}'
- run: nix-build | cachix push davegallant