@@ -100,7 +100,8 @@ jobs:
100100 needs : check-release-status
101101 if : |
102102 github.event_name == 'push' &&
103- needs.check-release-status.outputs.has_changes == 'true'
103+ needs.check-release-status.outputs.has_changes == 'true' &&
104+ needs.check-release-status.outputs.should_release == 'false'
104105 steps :
105106 - uses : actions/checkout@v5
106107 with :
@@ -355,7 +356,25 @@ jobs:
355356 $PRERELEASE_FLAG \
356357 --repo "${{ github.repository }}"
357358
359+ # Trigger dependent workflows
360+ # Note: We trigger explicitly because git push with GITHUB_TOKEN doesn't trigger workflows
361+ echo "Triggering agent-release-artifacts workflow for $TAG_NAME..."
362+ gh workflow run agent-release-artifacts.yml \
363+ --ref "$TAG_NAME" \
364+ --repo "${{ github.repository }}" || {
365+ echo "Warning: Failed to trigger agent-release-artifacts workflow."
366+ }
367+
368+ echo "Triggering rust-docker workflow for $TAG_NAME (including arm64)..."
369+ gh workflow run rust-docker.yml \
370+ --ref "$TAG_NAME" \
371+ --field include_arm64=true \
372+ --repo "${{ github.repository }}" || {
373+ echo "Warning: Failed to trigger rust-docker workflow."
374+ }
375+
358376 echo "$RELEASE_TYPE $TAG_NAME published successfully!" >> $GITHUB_STEP_SUMMARY
359377 [ "$IS_PRERELEASE" = "true" ] && echo "This is marked as a pre-release on GitHub." >> $GITHUB_STEP_SUMMARY
360378 echo "" >> $GITHUB_STEP_SUMMARY
361- echo "Binary artifacts will be built automatically by the agent-release-artifacts workflow." >> $GITHUB_STEP_SUMMARY
379+ echo "Binary artifacts will be built by the agent-release-artifacts workflow." >> $GITHUB_STEP_SUMMARY
380+ echo "Docker images will be built by the rust-docker workflow." >> $GITHUB_STEP_SUMMARY
0 commit comments