mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
7cca6d790c
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](https://github.com/cachix/cachix-action/compare/v12...v13) --- updated-dependencies: - dependency-name: cachix/cachix-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>
27 lines
729 B
YAML
27 lines
729 B
YAML
name: "Cache outputs"
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
jobs:
|
|
build-custom-packages:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
|
- uses: DeterminateSystems/nix-installer-action@v8
|
|
with:
|
|
extra-conf: |
|
|
keep-going = true
|
|
- name: Prepare push to binary cache
|
|
uses: cachix/cachix-action@v13
|
|
if: ${{ github.ref == 'refs/heads/master' }}
|
|
with:
|
|
name: foo-dogsquared
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
- name: Build custom packages
|
|
run: nix build -f ./pkgs --impure
|
|
env:
|
|
NIXPKGS_ALLOW_UNFREE: "1"
|