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 0d00396 commit 6fa1d90
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fa1d90

Please sign in to comment.