2021-08-19 23:36:35 +02:00
|
|
|
name: "Build packages for cachix"
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'pkgs/**'
|
|
|
|
- 'flake.nix'
|
|
|
|
- 'flake.lock'
|
2021-11-02 16:24:26 +01:00
|
|
|
- '.github/workflows/*'
|
2021-08-19 23:36:35 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-11-02 16:24:26 +01:00
|
|
|
- uses: cachix/install-nix-action@v14
|
2021-08-19 23:36:35 +02:00
|
|
|
with:
|
2021-11-02 16:24:26 +01:00
|
|
|
install_url: https://nixos-nix-install-tests.cachix.org/serve/vij683ly7sl95nnhb67bdjjfabclr85m/install
|
2021-08-19 23:36:35 +02:00
|
|
|
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
|
|
|
extra_nix_config: |
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
- uses: cachix/cachix-action@v10
|
|
|
|
with:
|
|
|
|
name: alarsyo
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- run: .github/workflows/build-flake-packages.sh
|