ci: merge workflow changes from upstream
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -41,6 +41,8 @@ jobs: | |||||||
|       uses: cachix/install-nix-action@v14 |       uses: cachix/install-nix-action@v14 | ||||||
|       with: |       with: | ||||||
|         nix_path: "${{ matrix.nixPath }}" |         nix_path: "${{ matrix.nixPath }}" | ||||||
|  |         extra_nix_config: | | ||||||
|  |           experimental-features = nix-command flakes | ||||||
|     - name: Show nixpkgs version |     - name: Show nixpkgs version | ||||||
|       run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' |       run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' | ||||||
|     - name: Setup cachix |     - name: Setup cachix | ||||||
| @@ -50,8 +52,7 @@ jobs: | |||||||
|         name: ${{ matrix.cachixName }} |         name: ${{ matrix.cachixName }} | ||||||
|         signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' |         signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | ||||||
|     - name: Build nix packages |     - name: Build nix packages | ||||||
|       # TODO switch to default nixpkgs channel once nix-build-uncached 1.0.0 is in stable |       run: nix shell -f '<nixpkgs>' nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs | ||||||
|       run: nix run -I 'nixpkgs=channel:nixos-unstable' nixpkgs.nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs |  | ||||||
|     - name: Trigger NUR update |     - name: Trigger NUR update | ||||||
|       if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }} |       if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }} | ||||||
|       run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}" |       run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user