mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	tests
This commit is contained in:
		
							parent
							
								
									f127271709
								
							
						
					
					
						commit
						4ae7c83357
					
				
							
								
								
									
										10
									
								
								.github/workflows/multiOSReleases.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/multiOSReleases.yml
									
									
									
									
										vendored
									
									
								
							@ -59,9 +59,9 @@ jobs:
 | 
				
			|||||||
        run: echo "versionNumber=$(./gradlew printVersion --quiet | tail -1)" >> $GITHUB_OUTPUT
 | 
					        run: echo "versionNumber=$(./gradlew printVersion --quiet | tail -1)" >> $GITHUB_OUTPUT
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Get version number
 | 
					      - name: Get version number mac
 | 
				
			||||||
        id: versionNumberMac
 | 
					        id: versionNumberMac
 | 
				
			||||||
        run: echo "versionNumberMac=$(./gradlew printVersion --quiet | tail -1)" >> $GITHUB_OUTPUT
 | 
					        run: echo "versionNumberMac=$(./gradlew printMacVersion --quiet | tail -1)" >> $GITHUB_OUTPUT
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
      # Build installer
 | 
					      # Build installer
 | 
				
			||||||
@ -77,11 +77,11 @@ jobs:
 | 
				
			|||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          if [ "${{ matrix.os }}" = "windows-latest" ]; then
 | 
					          if [ "${{ matrix.os }}" = "windows-latest" ]; then
 | 
				
			||||||
            mv "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}.exe" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}"
 | 
					            mv "build/jpackage/Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}.exe" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}"
 | 
				
			||||||
          elif [ "${{ matrix.os }}" = "macos-latest" ]; then
 | 
					          elif [ "${{ matrix.os }}" = "macos-latest" ]; then
 | 
				
			||||||
            mv "Stirling-PDF-${{ steps.versionNumberMac.outputs.versionNumberMac }}.dmg" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}"
 | 
					            mv "build/jpackage/Stirling-PDF-${{ steps.versionNumberMac.outputs.versionNumberMac }}.dmg" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}"
 | 
				
			||||||
          else
 | 
					          else
 | 
				
			||||||
            mv "stirlingpdf_${{ steps.versionNumber.outputs.versionNumber }}-1_amd64.deb" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}"
 | 
					            mv "build/jpackage/stirling-pdf_${{ steps.versionNumber.outputs.versionNumber }}-1_amd64.deb" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}"
 | 
				
			||||||
          fi
 | 
					          fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Upload installer as artifact for testing
 | 
					      # Upload installer as artifact for testing
 | 
				
			||||||
 | 
				
			|||||||
@ -123,6 +123,8 @@ jpackage {
 | 
				
			|||||||
    // Enable verbose output
 | 
					    // Enable verbose output
 | 
				
			||||||
    verbose = true
 | 
					    verbose = true
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					    destinationDir = file("${projectDir}/build/jpackage")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Windows-specific configuration
 | 
					    // Windows-specific configuration
 | 
				
			||||||
    windows {
 | 
					    windows {
 | 
				
			||||||
        winConsole = false
 | 
					        winConsole = false
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user