mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	ci: Don't pack Windows artifact
This commit is contained in:
		
							parent
							
								
									80e647ffec
								
							
						
					
					
						commit
						128af66797
					
				
							
								
								
									
										2
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @ -104,7 +104,7 @@ jobs: | ||||
|       - run: npm ci | ||||
|       - run: | | ||||
|           ./bin/update-build-info.sh | ||||
|           ./bin/build-win-x64.sh | ||||
|           ./bin/build-win-x64.sh DONTPACK | ||||
|       - uses: actions/upload-artifact@v4 | ||||
|         with: | ||||
|           name: trilium-windows-x64 | ||||
|  | ||||
| @ -34,9 +34,11 @@ rm -rf $BUILD_DIR/dump-db/node_modules | ||||
| 
 | ||||
| cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.bat $BUILD_DIR/ | ||||
| 
 | ||||
| echo "Zipping windows x64 electron distribution..." | ||||
| VERSION=`jq -r ".version" package.json` | ||||
| if [ "$1" != "DONTPACK" ] | ||||
| then | ||||
|   echo "Zipping windows x64 electron distribution..." | ||||
|   VERSION=`jq -r ".version" package.json` | ||||
| 
 | ||||
| cd dist | ||||
| 
 | ||||
| zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64 | ||||
|   cd dist | ||||
|   zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64 | ||||
| fi | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran