From 986e38b82fbae6c72470d7c2ea68a313b8c13693 Mon Sep 17 00:00:00 2001 From: Jim Kring Date: Thu, 28 Jul 2022 11:00:12 -0700 Subject: [PATCH] bug fix - wrap string in quotes for PS expression --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 81c9669..f823862 100644 --- a/action.yml +++ b/action.yml @@ -144,7 +144,7 @@ runs: if ("${{ inputs.output-dir }}" -ne ''){ $args += @('--output-dir="${{ inputs.output-dir }}"') } - $plugins = (${{ inputs.enable-plugins }} -split '\s*,\s*') + $plugins = ("${{ inputs.enable-plugins }}" -split '\s*,\s*') foreach ($plugin in $plugins) { $args += @('--enable-plugin=${plugin}'); } @@ -162,7 +162,7 @@ runs: run: | ARGS="" SPACE=" " - if [ "${{ inputs.access-token }}" != "" ]; then + if [ "${{ inputs.access-token }}" != "" ]; then pip install -e "git+https://${{ inputs.access-token }}@github.com/Nuitka/Nuitka-commercial.git@cfea7b47ca1c237341c4a334d4ff239c7c3fa472#egg=nuitka" fi if [ "${{ inputs.module }}" != "${{ false }}" ]; then