From 3a1678d6ec0d99c10d9e87e822472b2b9c140afb Mon Sep 17 00:00:00 2001 From: Shyim Date: Sun, 14 Jan 2024 19:06:56 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6404f5..0a366d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - master schedule: # rebuild everyday at 2:51 # TIP: Choose a random time here so not all repositories are build at once: @@ -20,7 +19,7 @@ jobs: # The repo name as used in # https://github.com/nix-community/NUR/blob/master/repos.json nurRepo: - - + - friendsofshopware # Set this to cache your build results in cachix for faster builds # in CI and for everyone who uses your cache. # @@ -32,7 +31,7 @@ jobs: # Github found at # https://github.com//nur-packages/settings/secrets cachixName: - - + - friendsofshopware nixPath: - nixpkgs=channel:nixos-unstable - nixpkgs=channel:nixpkgs-unstable @@ -52,11 +51,8 @@ jobs: run: nix-instantiate --eval -E '(import {}).lib.version' - name: Setup cachix uses: cachix/cachix-action@v14 - # Don't replace here! - if: ${{ matrix.cachixName != '' }} with: name: ${{ matrix.cachixName }} - signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - name: Check evaluation run: | @@ -70,6 +66,4 @@ jobs: - name: Build nix packages run: nix shell -f '' nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs - name: Trigger NUR update - # Don't replace here! - if: ${{ matrix.nurRepo != '' }} run: curl -XPOST "https://nur-update.nix-community.org/update?repo=${{ matrix.nurRepo }}"