Auto-update Homebrew tap from the release pipeline
@@ -273,3 +273,13 @@ jobs:
SDKMAN_CONSUMER_KEY: ${{ secrets.SDKMAN_CONSUMER_KEY }}
SDKMAN_CONSUMER_TOKEN: ${{ secrets.SDKMAN_CONSUMER_TOKEN }}
run: ./build/publish-on-sdkman.sh "${{ env.VERSION }}"
+
+ - name: Update the mvnd Homebrew tap
+ env:
+ MVND_CI_TOKEN: ${{ secrets.MVND_CI_TOKEN }}
+ run: |
+ curl -u ":$MVND_CI_TOKEN" \
+ -X POST \
+ -H "Accept: application/vnd.github.v3+json" \
+ https://api.github.com/repos/mvndaemon/homebrew-mvnd/actions/workflows/release.yaml/dispatches \
+ -d '{"ref": "master"}'
