Skip to content

Commit

Permalink
Update pack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Dec 22, 2023
1 parent 6fa1d90 commit 2a0d381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2a0d381

Please sign in to comment.