mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
add build workflow
This commit is contained in:
parent
78434e602d
commit
de1bf9b815
1 changed files with 18 additions and 0 deletions
18
.github/workflows/build.yml
vendored
Normal file
18
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
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:
|
||||
runs-on: macos-10.15
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v9
|
||||
- run: |
|
||||
nix build ${{ github.event.client_payload.args }} -vL
|
Loading…
Add table
Reference in a new issue