mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 13:50:04 +00:00 
			
		
		
		
	👷 Add install-lix action and build workflow
This commit is contained in:
		
							parent
							
								
									45494079c5
								
							
						
					
					
						commit
						e7b609a7f7
					
				
					 2 changed files with 51 additions and 0 deletions
				
			
		
							
								
								
									
										34
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| name: "Nix: build and cache outputs" | ||||
| 
 | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|   push: | ||||
|     paths: | ||||
|       - "**.nix" | ||||
|       - "**.lock" | ||||
|       - ".github/workflows/build.yml" | ||||
| 
 | ||||
| jobs: | ||||
|   build-flake: | ||||
|     name: Build (x86_64-linux) | ||||
|     runs-on: ubuntu-latest | ||||
| 
 | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           ref: ${{ github.ref_name }} | ||||
|           persist-credentials: false | ||||
| 
 | ||||
|       - name: Install Lix | ||||
|         uses: ./.github/actions/install-lix | ||||
| 
 | ||||
|       - name: Setup Attic cache | ||||
|         uses: ryanccn/attic-action@v0.3.2 | ||||
|         with: | ||||
|           endpoint: https://cache.thevoid.cafe | ||||
|           cache: puzzlevision | ||||
|           token: ${{ secrets.ATTIC_TOKEN }} | ||||
| 
 | ||||
|       - name: Build flake | ||||
|         run: nix build | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue