File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 9898 - name : update homebrew formulas
9999 # re-enable when we only wanna build for stable releases
100100 # if: ${{ steps.build.outputs.prerelease == "false" }}
101- uses : unRob/homebrew-formulas@latest
102- secrets :
103- token : ${{ secrets.FORMULAS_PAT }}
104- with :
105- version : ${{ steps.build.outputs.version }}
106- formula : milpa
101+ env :
102+ GITHUB_TOKEN : ${{ secrets.FORMULAS_PAT }}
103+ VERSION : ${{ steps.build.outputs.version }}
104+ run : |
105+ curl -L \
106+ -X POST \
107+ -H "Accept: application/vnd.github+json" \
108+ -H "Authorization: Bearer $GITHUB_TOKEN" \
109+ -H "X-GitHub-Api-Version: 2022-11-28" \
110+ https://api.github.com/repos/unRob/homebrew-formulas/actions/workflows/version-bump.yml/dispatches \
111+ -d '{"ref":"main","inputs":{ "formula": "Formula/milpa.rb", "version": "'"$VERSION"'" }}'
You can’t perform that action at this time.
0 commit comments