File tree 1 file changed +15
-6
lines changed
1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 33
33
- relwithdebinfo
34
34
- debug
35
35
default : release
36
+ manual_release :
37
+ description : Trigger a manual full release build
38
+ default : false
39
+ type : boolean
36
40
37
41
# Run every day at 0700 UTC which is:
38
42
# - 0000 PDT / 2300 PST
@@ -88,12 +92,17 @@ jobs:
88
92
- name : Get Configuration
89
93
id : get-config
90
94
run : |
91
- config=$(.github/bin/uploadReleaseArtifacts.sh \
92
- -b ${{ inputs.cmake_build_type }} \
93
- -e ${{ github.event_name }} \
94
- -o ${{ inputs.os }} \
95
- ${{ inputs.llvm_enable_assertions && '-a' || ' ' }} \
96
- ${{ inputs.run_tests && '-t' || ' ' }})
95
+ config=
96
+ if [[ ${{ github.event_name }} == "release" || ${{ inputs.manual_release }} == "true" ]]; then
97
+ config=$(.github/bin/uploadReleaseArtifacts.sh -e release)
98
+ else
99
+ config=$(.github/bin/uploadReleaseArtifacts.sh \
100
+ -b ${{ inputs.cmake_build_type }} \
101
+ -e ${{ github.event_name }} \
102
+ -o ${{ inputs.os }} \
103
+ ${{ inputs.llvm_enable_assertions && '-a' || ' ' }} \
104
+ ${{ inputs.run_tests && '-t' || ' ' }})
105
+ fi
97
106
98
107
echo "Build Matrix:" >> $GITHUB_STEP_SUMMARY
99
108
echo "\`\`\`json" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments