Skip to content

Commit 4a1f765

Browse files
committed
Fix a logging error for intermediate artifact preservation.
1 parent 2407e2a commit 4a1f765

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,7 @@ jobs:
4646
fi
4747
4848
- name: log if preserving intermediate artifacts
49-
# Inverse of the conditional on the cleanup_artifacts step.
50-
if: |
51-
!(
52-
(github.event.inputs.preserveIntermediateArtifacts == 0 || github.event.inputs.preserveIntermediateArtifacts == '')
53-
&& github.event.inputs.downloadPublicVersion == ''
54-
&& github.event.inputs.downloadPreviousRun == ''
55-
)
49+
if: ${{ github.event.inputs.preserveIntermediateArtifacts != 0 && github.event.inputs.preserveIntermediateArtifacts != '' }}
5650
run: echo "::warning ::Intermediate artifacts will be preserved."
5751

5852
build_tools:

0 commit comments

Comments
 (0)