File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 137137
138138if [ " ${PHASE_BUILD_MSI} " -gt 0 ]; then
139139 echo " [4/8 Triggering odbc_release_step in cpp_extra.yml workflow..."
140- run_url= $( gh workflow run cpp_extra.yml \
140+ gh workflow run cpp_extra.yml \
141141 --repo " ${GITHUB_REPOSITORY} " \
142142 --ref " ${tag} " \
143- --field odbc_release_step=true 2>&1 | grep -oE ' https://[^ ]+' || true)
144- run_id=${run_url##*/ } # Extract the run ID from the URL (the part after the last slash)
145- if [ -z " ${run_id} " ]; then
146- echo " ERROR: failed to get run ID from workflow trigger" >&2
147- exit 1
148- fi
149- echo " Triggered run: ${run_url} "
143+ --field odbc_release_step=true
150144
151145 echo " [5/8 Waiting for workflow to complete. This can take a very long time..."
152- gh run watch " ${run_id} " --repo " ${ GITHUB_REPOSITORY}" --exit-status --interval 60
153- echo " Run id ${run_id} completed. "
146+ REPOSITORY= " ${GITHUB_REPOSITORY} " \
147+ " ${SOURCE_DIR} /utils-watch-gh-workflow.sh " " ${tag} " cpp_extra.yml
154148fi
155149
156150if [ " ${PHASE_SIGN_MSI} " -gt 0 ]; then
You can’t perform that action at this time.
0 commit comments