Skip to content

Commit ebbf119

Browse files
committed
dev
1 parent fc3b89e commit ebbf119

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,17 @@ jobs:
3030
# Determine the channel based on the branch and apphub_tag
3131
if [[ "$BRANCH_NAME" == "dev" ]]; then
3232
echo "CHANNEL=dev" >> $GITHUB_ENV
33+
echo "::set-output name=channel::dev" # Set output for CHANNEL
3334
elif [[ "$BRANCH_NAME" == "main" ]]; then
3435
if [[ "$apphub_tag" == *"-"* ]]; then
3536
suffix="${apphub_tag#*-}"
3637
library_tag_gh="${library_tag}-${suffix}"
3738
echo "CHANNEL=rc" >> $GITHUB_ENV
39+
echo "::set-output name=channel::rc" # Set output for CHANNEL
3840
else
3941
library_tag_gh=$library_tag
4042
echo "CHANNEL=release" >> $GITHUB_ENV
43+
echo "::set-output name=channel::release" # Set output for CHANNEL
4144
fi
4245
fi
4346
@@ -90,7 +93,7 @@ jobs:
9093

9194
pages:
9295
name: Build Github Pages
93-
if: env.CHANNEL != 'dev'
96+
if: needs.release.outputs.channel != 'dev'
9497
permissions:
9598
contents: read
9699
pages: write

0 commit comments

Comments
 (0)