Skip to content

Commit

Permalink
chore: change condition again
Browse files Browse the repository at this point in the history
Signed-off-by: MarkAckert <[email protected]>
  • Loading branch information
MarkAckert committed Nov 28, 2023
1 parent 1ec9c79 commit 9cf79e8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/license-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9cf79e8

Please sign in to comment.