Skip to content

Commit 561d4f8

Browse files
committed
Also only print it if not downloading an SDK.
1 parent 4a1f765 commit 561d4f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
fi
4747
4848
- name: log if preserving intermediate artifacts
49-
if: ${{ github.event.inputs.preserveIntermediateArtifacts != 0 && github.event.inputs.preserveIntermediateArtifacts != '' }}
49+
if: |
50+
github.event.inputs.preserveIntermediateArtifacts != 0 && github.event.inputs.preserveIntermediateArtifacts != '' &&
51+
github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == ''
5052
run: echo "::warning ::Intermediate artifacts will be preserved."
5153

5254
build_tools:

0 commit comments

Comments
 (0)