Auto-update Homebrew tap from the release pipeline

This commit is contained in:
Peter Palaga
2020-10-25 22:15:20 +01:00
parent 38a7a6fc71
commit bd34f1897e

View File

@@ -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"}'