Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,17 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
release-type: snapshot

- name: Trigger Homebrew formula update
if: success() && steps.commit.outputs.has-artifact == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "🍺 Triggering Homebrew formula update..."
gh workflow run homebrew-update.yml \
--field ci-run-id="${{ steps.commit.outputs.run-id }}" \
--field xdk-version="${{ steps.versions.outputs.xdk-version }}"
echo "✅ Homebrew update workflow triggered"

- name: Summary
if: success()
shell: bash
Expand All @@ -183,8 +194,10 @@ jobs:
echo "- ✅ Maven Central Snapshots" >> $GITHUB_STEP_SUMMARY
if [ "${{ steps.commit.outputs.has-artifact }}" = "true" ]; then
echo "- ✅ GitHub Releases (xdk-snapshots)" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Homebrew formula update (triggered)" >> $GITHUB_STEP_SUMMARY
else
echo "- ⏭️ GitHub Releases (skipped - manual trigger)" >> $GITHUB_STEP_SUMMARY
echo "- ⏭️ Homebrew formula update (skipped - manual trigger)" >> $GITHUB_STEP_SUMMARY
fi
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Maven artifacts:**" >> $GITHUB_STEP_SUMMARY
Expand Down
Loading