2020-06-12 23:46:11 +02:00
|
|
|
name: "Build"
|
|
|
|
on:
|
|
|
|
# curl -fsSL -XPOST \
|
|
|
|
# -H "Accept: application/vnd.github.everest-preview+json" \
|
|
|
|
# -H "Authorization: token $GITHUB_TOKEN" \
|
|
|
|
# --data '{"event_type": "build", "client_payload": {"args": "-f channel:nixpkgs-unstable hello"}}' \
|
|
|
|
# https://api.github.com/repos/LnL7/nix-darwin/dispatches
|
|
|
|
repository_dispatch:
|
|
|
|
types:
|
|
|
|
- build
|
|
|
|
jobs:
|
|
|
|
build:
|
2022-08-12 12:13:11 -04:00
|
|
|
runs-on: macos-12
|
2020-06-12 23:46:11 +02:00
|
|
|
steps:
|
2023-04-26 23:00:58 +02:00
|
|
|
- uses: actions/checkout@v3
|
2023-06-18 20:00:49 +02:00
|
|
|
- uses: cachix/install-nix-action@v22
|
2020-06-12 23:46:11 +02:00
|
|
|
- run: |
|
|
|
|
nix build ${{ github.event.client_payload.args }} -vL
|