fix: don't push the iso during testing
This commit is contained in:
		
							parent
							
								
									e7172778d0
								
							
						
					
					
						commit
						1a58c12608
					
				| 
						 | 
				
			
			@ -51,6 +51,7 @@ jobs:
 | 
			
		|||
          VERSION: ${{ matrix.version }}
 | 
			
		||||
          ACTION_REPO: ${{ github.repository }}
 | 
			
		||||
          ACTION_REF: ${{ github.ref }}
 | 
			
		||||
          PUSH_ISO: "false"
 | 
			
		||||
 | 
			
		||||
  check:
 | 
			
		||||
    name: Check build successful
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,6 +37,10 @@ inputs:
 | 
			
		|||
    description: Repository ref for the build action
 | 
			
		||||
    required: false
 | 
			
		||||
    default: ${{ github.ref }}
 | 
			
		||||
  PUSH_ISO:
 | 
			
		||||
    description: Push ISO when done building
 | 
			
		||||
    required: false
 | 
			
		||||
    default: "true"
 | 
			
		||||
 | 
			
		||||
runs:
 | 
			
		||||
  using: composite
 | 
			
		||||
| 
						 | 
				
			
			@ -101,6 +105,7 @@ runs:
 | 
			
		|||
        mv ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso end_iso/
 | 
			
		||||
 | 
			
		||||
    - name: Upload ISO as artifact
 | 
			
		||||
      if: inputs.PUSH_ISO == "true"
 | 
			
		||||
      uses: actions/upload-artifact@v4
 | 
			
		||||
      with:
 | 
			
		||||
        name: ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue