File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,10 +271,31 @@ jobs:
271271 needs :
272272 - release_galaxy
273273 - release_ah
274- if : ${{ !cancelled() && needs.release_galaxy.result == 'success' && needs.release_ah.result == 'success' }}
274+ # Continue the release flow when at least one publish target succeeds
275+ # (Galaxy token issues must not block Automation Hub / merge).
276+ if : >-
277+ always() &&
278+ !cancelled() &&
279+ (needs.release_galaxy.result == 'success' ||
280+ needs.release_ah.result == 'success')
275281 runs-on : ubuntu-latest
276282 steps :
277- - run : echo "All releases completed successfully"
283+ - name : Report publish results
284+ env :
285+ GALAXY_RESULT : ${{ needs.release_galaxy.result }}
286+ AH_RESULT : ${{ needs.release_ah.result }}
287+ run : |
288+ echo "Publish to Galaxy: ${GALAXY_RESULT}"
289+ echo "Publish to Automation Hub: ${AH_RESULT}"
290+ if [ "${GALAXY_RESULT}" = "success" ] && [ "${AH_RESULT}" = "success" ]; then
291+ echo "::notice::Both Galaxy and Automation Hub publishes succeeded."
292+ exit 0
293+ fi
294+ if [ "${GALAXY_RESULT}" = "success" ]; then
295+ echo "::warning::Automation Hub publish did not succeed (${AH_RESULT}); continuing with Galaxy only."
296+ exit 0
297+ fi
298+ echo "::warning::Galaxy publish did not succeed (${GALAXY_RESULT}); continuing with Automation Hub only."
278299
279300 upload_tarball :
280301 name : Upload Tarball to Release
Original file line number Diff line number Diff line change 1+ ---
2+ bugfixes :
3+ - release automation - treat Verify Releases as successful when either
4+ Galaxy or Automation Hub publish succeeds so a single publish failure
5+ does not abort merge and EE build.
6+ ...
You can’t perform that action at this time.
0 commit comments