Files
nix-config/.github/workflows/cachix.yml
dependabot[bot] 43cf8bccc2 Bump cachix/install-nix-action from 19 to 20 (#84)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 12:19:22 -05: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@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: davegallant
authToken: '${{ secrets.CACHIX_API_KEY }}'
- run: nix-build | cachix push davegallant