Skip to content

Commit 21cbf96

Browse files
committed
chore: Fix minor issue with DUAL_PUBLISH_ENABLED environment variable
definition Signed-off-by: Roger Barker <[email protected]>
1 parent e0c1521 commit 21cbf96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/zxf-publish-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
name: Validate Release
4141
runs-on: hiero-client-sdk-linux-medium
4242
env:
43-
DUAL_PUBLISH_ENABLED: ${{ inputs.dual-publish-enabled == 'true' || github.event_name == 'push' }}
43+
DUAL_PUBLISH_ENABLED: ${{ inputs.dual-publish-enabled || github.event_name == 'push' }}
4444
outputs:
4545
# Project tag
4646
tag: ${{ steps.sdk-tag.outputs.name }}
@@ -324,7 +324,7 @@ jobs:
324324
- run-safety-checks
325325
runs-on: hiero-client-sdk-linux-medium
326326
env:
327-
DUAL_PUBLISH_ENABLED: ${{ inputs.dual-publish-enabled == 'true' || github.event_name == 'push' }}
327+
DUAL_PUBLISH_ENABLED: ${{ inputs.dual-publish-enabled || github.event_name == 'push' }}
328328
DRY_RUN_ENABLED: ${{ inputs.dry-run-enabled || 'false' }}
329329
steps:
330330
- name: Harden Runner

0 commit comments

Comments
 (0)