File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments