mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +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: npm ci | ||||||
|       - run: | |       - run: | | ||||||
|           ./bin/update-build-info.sh |           ./bin/update-build-info.sh | ||||||
|           ./bin/build-win-x64.sh |           ./bin/build-win-x64.sh DONTPACK | ||||||
|       - uses: actions/upload-artifact@v4 |       - uses: actions/upload-artifact@v4 | ||||||
|         with: |         with: | ||||||
|           name: trilium-windows-x64 |           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/ | cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.bat $BUILD_DIR/ | ||||||
| 
 | 
 | ||||||
|  | if [ "$1" != "DONTPACK" ] | ||||||
|  | then | ||||||
|   echo "Zipping windows x64 electron distribution..." |   echo "Zipping windows x64 electron distribution..." | ||||||
|   VERSION=`jq -r ".version" package.json` |   VERSION=`jq -r ".version" package.json` | ||||||
| 
 | 
 | ||||||
|   cd dist |   cd dist | ||||||
| 
 |  | ||||||
|   zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64 |   zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64 | ||||||
|  | fi | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran