mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
By default GitHub Actions cancels all the jobs in the build matrix if any one of them fails. We actually want to keep going to get some advancement on the other channels.
29 lines
634 B
YAML
29 lines
634 B
YAML
name: Nix
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# Run once per day
|
|
- cron: '0 0 * * *'
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
# Keep building the other channels if one fails
|
|
fail-fast: false
|
|
matrix:
|
|
channel:
|
|
- nixos-unstable
|
|
- nixos-20.09
|
|
- nixos-20.03
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: cachix/install-nix-action@v12
|
|
- run: nix-shell --run ./ci.sh
|
|
env:
|
|
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
|
|
NIXPKGS_CHANNEL: '${{ matrix.channel }}'
|