From 6fa1d9058bcb56a33dade47c87ea2c1a7a04218c Mon Sep 17 00:00:00 2001 From: aiqinxuancai Date: Fri, 22 Dec 2023 15:07:08 +0800 Subject: [PATCH] Update pack.yml --- .github/workflows/pack.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 02e732a..780e310 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -31,11 +31,12 @@ jobs: - name: Determine Pre-release Status id: prerelease run: | - if [[ ${{ github.ref }} == *"alpha"* ]]; then + if (${{ github.ref }} -like "*alpha*") { echo "##[set-output name=status;]true" - else + } else { echo "##[set-output name=status;]false" - fi + } + shell: powershell - name: Publish to GitHub Releases uses: softprops/action-gh-release@v1