check if empty
This commit is contained in:
parent
8eb6214bea
commit
6627464583
@ -24,7 +24,7 @@ jobs:
|
|||||||
echo "Setting Version to ${{ inputs.version }}"
|
echo "Setting Version to ${{ inputs.version }}"
|
||||||
|
|
||||||
git_path=$(pwd)
|
git_path=$(pwd)
|
||||||
if [ "${{ inputs.packagePath }}" != "null" ]; then
|
if [ -n "${{ inputs.packagePath }}" ]; then
|
||||||
echo "Change Directory to ${{ inputs.packagePath }}"
|
echo "Change Directory to ${{ inputs.packagePath }}"
|
||||||
cd ${{ inputs.packagePath }}
|
cd ${{ inputs.packagePath }}
|
||||||
fi
|
fi
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
package_name=package.json
|
package_name=package.json
|
||||||
if [ "${{ inputs.packagePath }}" != "null" ]; then
|
if [ -n "${{ inputs.packagePath }}" ]; then
|
||||||
package_name="${{ inputs.packagePath }}package.json"
|
package_name="${{ inputs.packagePath }}package.json"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user