mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix(monorepo/electron): artifact searching
This commit is contained in:
		
							parent
							
								
									ba04fd31f3
								
							
						
					
					
						commit
						8a8c8e17f1
					
				
							
								
								
									
										8
									
								
								.github/actions/build-electron/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/actions/build-electron/action.yml
									
									
									
									
										vendored
									
									
								
							| @ -99,7 +99,7 @@ runs: | ||||
|     shell: ${{ inputs.shell }} | ||||
|     run: | | ||||
|       echo "Signing DMG file..." | ||||
|         dmg_file=$(find ./dist -name "*.dmg" -print -quit) | ||||
|       dmg_file=$(find ./apps/desktop/dist -name "*.dmg" -print -quit) | ||||
|       if [ -n "$dmg_file" ]; then | ||||
|         echo "Found DMG: $dmg_file" | ||||
|         # Get the first valid signing identity from the keychain | ||||
| @ -127,7 +127,7 @@ runs: | ||||
| 
 | ||||
|       # First check the .app bundle | ||||
|       echo "Looking for .app bundle..." | ||||
|         app_bundle=$(find ./dist -name "*.app" -print -quit) | ||||
|       app_bundle=$(find ./apps/desktop/dist -name "*.app" -print -quit) | ||||
|       if [ -n "$app_bundle" ]; then | ||||
|         echo "Found app bundle: $app_bundle" | ||||
|         echo "Verifying app bundle signing..." | ||||
| @ -146,7 +146,7 @@ runs: | ||||
| 
 | ||||
|       # Then check DMG if it exists | ||||
|       echo "Looking for DMG..." | ||||
|         dmg_file=$(find ./dist -name "*.dmg" -print -quit) | ||||
|       dmg_file=$(find ./apps/desktop/dist -name "*.dmg" -print -quit) | ||||
|       if [ -n "$dmg_file" ]; then | ||||
|         echo "Found DMG: $dmg_file" | ||||
|         echo "Verifying DMG signing..." | ||||
| @ -162,7 +162,7 @@ runs: | ||||
| 
 | ||||
|       # Finally check ZIP if it exists | ||||
|       echo "Looking for ZIP..." | ||||
|         zip_file=$(find ./dist -name "*.zip" -print -quit) | ||||
|       zip_file=$(find ./apps/desktop/dist -name "*.zip" -print -quit) | ||||
|       if [ -n "$zip_file" ]; then | ||||
|         echo "Found ZIP: $zip_file" | ||||
|         echo "Note: ZIP files are not code signed, but their contents should be" | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/actions/build-server/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/actions/build-server/action.yml
									
									
									
									
										vendored
									
									
								
							| @ -27,6 +27,6 @@ runs: | ||||
|     shell: bash | ||||
|     run: | | ||||
|       mkdir -p upload | ||||
|       file=$(find apps/server/dist -name '*.tar.xz' -print -quit) | ||||
|       file=$(find ./apps/server/dist -name '*.tar.xz' -print -quit) | ||||
|       name=${{ github.ref_name }} | ||||
|       cp "$file" "upload/TriliumNextNotes-Server-${name//\//-}-${{ inputs.os }}-${{ inputs.arch }}.tar.xz" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran