Skip to content

Commit 618275e

Browse files
authored
Fix wrong release channel (#143)
Signed-off-by: Hendrix-Shen <[email protected]>
1 parent ba220b3 commit 618275e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on:
1313
release:
1414
types:
1515
- published
16-
1716
jobs:
1817
prepare_action_info:
1918
if: ${{ !startsWith(github.event.ref, 'refs/tags/') }}

.github/workflows/prepare_action_info.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
build_version_type=PULL_REQUEST
7777
elif [ "$GH_EVENT_NAME" == 'release' ]
7878
then
79-
if [ ${{ github.event.release.prerelease }} ]
79+
if [ ${{ github.event.release.prerelease }} == 'true' ]
8080
then
8181
build_version_type=RC
8282
publish_platform_channel=beta
@@ -87,6 +87,7 @@ jobs:
8787
8888
build_publish=true
8989
publish_enable=true
90+
publish_type=release
9091
else
9192
echo Unsupported github event name "$GH_EVENT_NAME"
9293
exit 1

0 commit comments

Comments
 (0)