From 80752af316906bc37a533444ffb333d6c66b1943 Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Wed, 15 Jun 2022 15:23:44 +0100 Subject: [PATCH] Add CI workflow :construction_worker: --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..ca05d530 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Build + +on: push + +jobs: + build: + name: Build + uses: nixbuild/nixbuild-action/.github/workflows/ci-workflow.yml@v11 + + # Secret key will not be available to forks + if: github.repository_owner == 'danth' + secrets: + nixbuild_ssh_key: ${{ secrets.NIXBUILD_SSH_KEY }} + + with: + filter_builds: '.system == "x86_64-linux"' + label_builds: '"\(.attr)"'