diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2020-06-12 23:46:11 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2020-06-12 23:48:33 +0200 |
| commit | de1bf9b815d091d781489a9ea1a52297402077e2 (patch) | |
| tree | c3a4c9deaa94231c71ded33e21a4dfa20a975674 /.github/workflows | |
| parent | 78434e602d7c111c25b6676f879eae3a543d2be0 (diff) | |
add build workflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..bdb5574 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 |
