Skip to content

Commit 9b0e407

Browse files
authored
Don't log environment variables if debugging isn't enabled (#676)
If debugging _isn't_ enabled, the command evaluated to `set` and just [printed all the variables](https://github.com/hazelcast/hazelcast-code-samples/actions/runs/11782852379/job/32818798295) which was useless.
1 parent 9f5ca42 commit 9b0e407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/builder.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
distribution: temurin
1717
- name: Build and test
1818
run: |
19-
set ${RUNNER_DEBUG:+-x}
19+
${RUNNER_DEBUG:+set -x}
2020
mvn \
2121
--batch-mode \
2222
--errors \

0 commit comments

Comments
 (0)