From 9cf79e8131b5543102df5fe8ecafc1ba716642fb Mon Sep 17 00:00:00 2001 From: MarkAckert Date: Tue, 28 Nov 2023 15:33:46 -0500 Subject: [PATCH] chore: change condition again Signed-off-by: MarkAckert --- .github/workflows/license-generation.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/license-generation.yml b/.github/workflows/license-generation.yml index 10fd2955..bb15bae1 100644 --- a/.github/workflows/license-generation.yml +++ b/.github/workflows/license-generation.yml @@ -32,8 +32,11 @@ on: dummy_build: description: Creates empty zip files, bypassing license scans. For test purposes only. required: false - type: boolean - default: false + type: choice + default: 'false' + options: + - 'true' + - 'false' env: PUBLISH_RELEASE: ${{ github.event.inputs.publish_release }} @@ -99,7 +102,7 @@ jobs: JF_ENV_1: ${{ secrets.JF_ARTIFACTORY_TOKEN }} - name: '[TEST-ONLY] Dummy scan step' - if: ${{ github.event.inputs.dummy_build == true }} + if: ${{ github.event.inputs.dummy_build == 'true' }} working-directory: ${{ env.DEPENDENCY_SCAN_HOME }} run: | mkdir -p zowe_licenses @@ -116,7 +119,7 @@ jobs: - name: Scan Licenses on Branch ${{ env.ZOWE_RELEASE_BRANCH }} - if: ${{ github.event.inputs.dummy_build != true }} + if: ${{ github.event.inputs.dummy_build == 'false' }} env: APP_NOTICES_SCAN: true APP_LICENSE_SCAN: true