diff --git a/publish-if-not-exists/action.yml b/publish-if-not-exists/action.yml index 5b0f5dd..71ee97a 100644 --- a/publish-if-not-exists/action.yml +++ b/publish-if-not-exists/action.yml @@ -38,7 +38,7 @@ runs: package_ref="$name@$version" - if [[ ${{ inputs.package_manager }} != "pnpm" && "${{ inputs.package_manager }}" != "npm" ]]; then + if [[ "${{ inputs.package_manager }}" != "pnpm" && "${{ inputs.package_manager }}" != "npm" ]]; then echo "Unsupported package manager: ${{ inputs.package_manager }}" exit 1 fi