diff options
author | Fernando Ayats <[email protected]> | 2022-05-21 12:39:15 +0200 |
---|---|---|
committer | Fernando Ayats <[email protected]> | 2022-05-21 12:39:15 +0200 |
commit | 2e6e5b4268f13021da837ed8850b43d905833350 (patch) | |
tree | 6b3d537118bb7aa51524579df38aec5a618c13d7 | |
parent | 9d89e0f08e1782ddeefa030755805387fb14dccf (diff) | |
download | Hyprland-2e6e5b4268f13021da837ed8850b43d905833350.tar.gz Hyprland-2e6e5b4268f13021da837ed8850b43d905833350.zip |
nix: put workflow in different file
-rw-r--r-- | .github/workflows/ci.yaml | 16 | ||||
-rw-r--r-- | .github/workflows/nix-build.yaml | 19 |
2 files changed, 19 insertions, 16 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 513ac45c..aaabde25 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,19 +44,3 @@ jobs: - name: Build Hyprland with LEGACY_RENDERER run: | make legacyrenderer - - nix: - name: "Build Hyprland (Nix)" - runs-on: ubuntu-latest - steps: - - name: Clone repository - uses: actions/checkout@v3 - - name: Install nix - uses: cachix/install-nix-action@v17 - with: - install_url: https://releases.nixos.org/nix/nix-2.8.0/install - extra_nix_config: | - auto-optimise-store = true - experimental-features = nix-command flakes - - name: Build HyprLand with default settings - run: nix build --print-build-logs diff --git a/.github/workflows/nix-build.yaml b/.github/workflows/nix-build.yaml new file mode 100644 index 00000000..0f74c4d5 --- /dev/null +++ b/.github/workflows/nix-build.yaml @@ -0,0 +1,19 @@ +name: Build Hyprland (Nix) + +on: [push, pull_request, workflow_dispatch] +jobs: + nix: + name: "Build Hyprland (Nix)" + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v3 + - name: Install nix + uses: cachix/install-nix-action@v17 + with: + install_url: https://releases.nixos.org/nix/nix-2.8.0/install + extra_nix_config: | + auto-optimise-store = true + experimental-features = nix-command flakes + - name: Build HyprLand with default settings + run: nix build --print-build-logs |