diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 780e310..72219ce 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -31,7 +31,8 @@ jobs: - name: Determine Pre-release Status id: prerelease run: | - if (${{ github.ref }} -like "*alpha*") { + $ref = "${{ github.ref }}" + if ($ref -like "*alpha*") { echo "##[set-output name=status;]true" } else { echo "##[set-output name=status;]false"