Skip to content

update

update #233

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- master
jobs:
build-linux:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'build')"
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v17
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/install-nix-action@v20
with:
name: arcueid
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
- run: |
nix-channel --list
nix-channel --remove nixpkgs
nix-channel --add https://mirrors.tuna.tsinghua.edu.cn/nix-channels/nixpkgs-unstable nixpkgs
nix-channel --update
./install_nixpkgs.sh
build-macos-latest:
runs-on: macos-latest
if: "contains(github.event.head_commit.message, 'build')"
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v17
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/install-nix-action@v20
with:
name: arcueid
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
- run: |
nix-channel --list
nix-channel --remove nixpkgs
nix-channel --add https://mirrors.tuna.tsinghua.edu.cn/nix-channels/nixpkgs-unstable nixpkgs
nix-channel --update
./install_nixpkgs.sh