From 78d3a302516b8aa55d1ebf4d1132c7c1bcd4c986 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Wed, 14 Feb 2024 05:59:23 -0500 Subject: [PATCH] ci: Self-hosted runner --- .github/workflows/build.yaml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9f3f21e..e9bb8ae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,19 +2,11 @@ name: "Build" on: pull_request: push: + branches: + - master jobs: build: - runs-on: ubuntu-latest - env: - MAINLINE: refs/heads/master + runs-on: self-hosted steps: - - uses: actions/checkout@v2 - - uses: cachix/install-nix-action@v13 - with: - install_url: https://nixos-nix-install-tests.cachix.org/serve/lb41az54kzk6j12p81br4bczary7m145/install - install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' - extra_nix_config: | - experimental-features = nix-command flakes - - name: Build 🔧 - run: | - nix build -j4 --no-link + - uses: actions/checkout@v4 + - run: nixci