File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44
44
echo "::warning ::Using commit ID '${{ github.event.inputs.commitIdToPackage }}' for building and packaging SDK and tests."
45
45
fi
46
46
fi
47
- if [[ "${{ github.event.inputs.preserveIntermediateArtifacts }}" != "0" ]]; then
47
+ if [[ "${{ github.event.inputs.preserveIntermediateArtifacts }}" != "0" && -n "${{ github.event.inputs.preserveIntermediateArtifacts }}" ]]; then
48
48
echo "::warning ::Intermediate artifacts will be preserved."
49
49
fi
50
50
@@ -540,7 +540,7 @@ jobs:
540
540
name : cleanup-artifacts
541
541
runs-on : ubuntu-latest
542
542
needs : [merge_packages]
543
- if : ${{ github.event.inputs.preserveIntermediateArtifacts == 0 && github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
543
+ if : ${{ ( github.event.inputs.preserveIntermediateArtifacts == 0 || github.event.inputs.preserveIntermediateArtifacts == '') && github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
544
544
steps :
545
545
- uses : geekyeggo/delete-artifact@v1
546
546
with :
You can’t perform that action at this time.
0 commit comments