[GitHub Actions] Ensure VERBOSE uses github.debug as well.
This commit is contained in:
2
.github/workflows/common.yml
vendored
2
.github/workflows/common.yml
vendored
@@ -26,7 +26,7 @@ on:
|
||||
GH_ARC_PAT:
|
||||
|
||||
env:
|
||||
VERBOSE: ${{ inputs.verbose && 'true' || '' }}
|
||||
VERBOSE: ${{ (github.debug || inputs.verbose) && 'true' || '' }}
|
||||
BRANCH: ${{ inputs.branch }}
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -38,7 +38,6 @@ pushd "$PROJECT_FOLDER" > /dev/null
|
||||
MAVEN_OPT="$MAVEN_OPT -B -U"
|
||||
fi
|
||||
if [ "$VERSION" == "" ]; then
|
||||
|
||||
VERSION=$($SCDIR/mvn-get-version.sh)
|
||||
fi
|
||||
echo "Project Version:$VERSION"
|
||||
|
||||
Reference in New Issue
Block a user