From 0e360fa999e682780b7c13d004262e4a2fe20f28 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 22 Jul 2024 00:40:25 +0300 Subject: [PATCH] ci: fix repository names in name checks --- .github/workflows/build.yml | 8 +++----- .github/workflows/check.yml | 2 +- .github/workflows/nix.yml | 7 +++++-- .github/workflows/update-flake.yml | 2 +- .github/workflows/update-pkgs.yml | 2 +- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af4fee3..e4ffaed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,18 +8,16 @@ on: required: false jobs: + if: github.repository == 'notashelf/nyxexprs' + runs-on: ubuntu-latest build: strategy: matrix: package: - - alejandra-no-ads + - alejandra-custom - ani-cli - cloneit - foot-transparent - - mov-cli - - rat - - rofi-calc-wayland - - rofi-emoji-wayland - headscale-ui - mastodon-bird-ui diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f4a53c0..72c3122 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,7 +8,7 @@ jobs: matrix: command: - NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure - - nix run nixpkgs#alejandra -- -c . -e ./npins + - nix run .#alejandra-custom -- -c . -e ./npins uses: ./.github/workflows/nix.yml with: diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index c359d5c..7db2068 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -15,8 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/magic-nix-cache-action@main + - name: Install Lix + uses: DeterminateSystems/nix-installer-action@main + with: + source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux + logger: pretty - uses: cachix/cachix-action@v15 with: name: nyx diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml index 9ae810b..4700381 100644 --- a/.github/workflows/update-flake.yml +++ b/.github/workflows/update-flake.yml @@ -7,7 +7,7 @@ on: jobs: update: - if: github.repository == 'notashelf/nyxpkgs' + if: github.repository == 'notashelf/nyxexprs' runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/update-pkgs.yml b/.github/workflows/update-pkgs.yml index cfa0393..37c4fd9 100644 --- a/.github/workflows/update-pkgs.yml +++ b/.github/workflows/update-pkgs.yml @@ -7,7 +7,7 @@ on: jobs: update: - if: github.repository == 'notashelf/nyxpkgs' + if: github.repository == 'notashelf/nyxexprs' runs-on: ubuntu-latest permissions: