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 }}
 | 
					          VERSION: ${{ matrix.version }}
 | 
				
			||||||
          ACTION_REPO: ${{ github.repository }}
 | 
					          ACTION_REPO: ${{ github.repository }}
 | 
				
			||||||
          ACTION_REF: ${{ github.ref }}
 | 
					          ACTION_REF: ${{ github.ref }}
 | 
				
			||||||
 | 
					          PUSH_ISO: "false"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  check:
 | 
					  check:
 | 
				
			||||||
    name: Check build successful
 | 
					    name: Check build successful
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,6 +37,10 @@ inputs:
 | 
				
			||||||
    description: Repository ref for the build action
 | 
					    description: Repository ref for the build action
 | 
				
			||||||
    required: false
 | 
					    required: false
 | 
				
			||||||
    default: ${{ github.ref }}
 | 
					    default: ${{ github.ref }}
 | 
				
			||||||
 | 
					  PUSH_ISO:
 | 
				
			||||||
 | 
					    description: Push ISO when done building
 | 
				
			||||||
 | 
					    required: false
 | 
				
			||||||
 | 
					    default: "true"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
runs:
 | 
					runs:
 | 
				
			||||||
  using: composite
 | 
					  using: composite
 | 
				
			||||||
| 
						 | 
					@ -101,6 +105,7 @@ runs:
 | 
				
			||||||
        mv ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso end_iso/
 | 
					        mv ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso end_iso/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Upload ISO as artifact
 | 
					    - name: Upload ISO as artifact
 | 
				
			||||||
 | 
					      if: inputs.PUSH_ISO == "true"
 | 
				
			||||||
      uses: actions/upload-artifact@v4
 | 
					      uses: actions/upload-artifact@v4
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        name: ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso
 | 
					        name: ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue