File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 88 - ' stable-[0-9]+.[0-9]+.[0-9]+'
99 pull_request :
1010 workflow_dispatch :
11+ inputs :
12+ releaseChannel :
13+ description : ' The release channel'
14+ required : true
15+ default : ' stable'
16+ type : choice
17+ options :
18+ - stable
19+ - beta
20+
1121
1222concurrency :
1323 group : ${{ github.head_ref || github.run_id }}
@@ -104,7 +114,7 @@ jobs:
104114 run : |
105115 New-Item -ItemType Directory "${env:GITHUB_WORKSPACE}/binaries/"
106116 # settings
107- if ("${{ github.ref_type }}" -ne "tag" ) {
117+ if ("${{ github.ref_type }}" -ne "tag" -or "${{ inputs.releaseChannel }}" -eq "beta" ) {
108118 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set "forceAsserts=true" opencloud/opencloud-desktop
109119 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set "buildBeta=true" opencloud/opencloud-desktop
110120 }
You can’t perform that action at this time.
0 commit comments