use tar transformation to get the archive zig package manager approved
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m40s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m40s
				
			This commit is contained in:
		
							parent
							
								
									d30d9cf3a9
								
							
						
					
					
						commit
						7637289c3e
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -32,7 +32,10 @@ jobs: | |||
|       - run: zig build -Dtarget=riscv64-linux | ||||
|       - run: zig build -Dtarget=x86_64-macos | ||||
|       - run: zig build -Dtarget=aarch64-macos | ||||
|       - run: tar -czf ${{ runner.temp }}/${{ github.sha }}-with-models.tar.gz --exclude 'zig-*' * | ||||
|       # Zig package manager expects everything to be inside a directory in the archive, | ||||
|       # which it then strips out on download. So we need to shove everything inside a directory | ||||
|       # the way GitHub/Gitea does for repo archives | ||||
|       - run: tar -czf ${{ runner.temp }}/${{ github.sha }}-with-models.tar.gz --exclude 'zig-*' --transform 's,^,${{ github.sha }}/,' * | ||||
|       # - name: Sign | ||||
|       #   id: sign | ||||
|       #   uses: https://git.lerch.org/lobo/action-hsm-sign@v1 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue