File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,18 +198,12 @@ jobs:
198198 echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
199199 echo "root_url=${ROOT_URL}" >> "$GITHUB_OUTPUT"
200200
201- - name : Create temp tap with checked-out formula ( merge job)
201+ - name : Configure git for bottle merge
202202 run : |
203203 set -euo pipefail
204-
205204 git config --global user.email "github-actions[bot]@users.noreply.github.com"
206205 git config --global user.name "github-actions[bot]"
207206
208- brew tap-new mflowcode/local
209- TAP_DIR="$(brew --repository)/Library/Taps/mflowcode/homebrew-local"
210- mkdir -p "${TAP_DIR}/Formula"
211- cp Formula/mfc.rb "${TAP_DIR}/Formula/mfc.rb"
212-
213207 - name : Download all bottle artifacts
214208 uses : actions/download-artifact@v4
215209 with :
@@ -262,7 +256,7 @@ jobs:
262256 BEFORE_SHA=$(git rev-parse HEAD)
263257 echo "HEAD before merge: ${BEFORE_SHA}"
264258
265- brew bottle --merge --write "${JSON_BOTTLES[@]}"
259+ brew bottle --merge --write --root-url="${{ steps.meta.outputs.root_url }}" "${JSON_BOTTLES[@]}"
266260
267261 AFTER_SHA=$(git rev-parse HEAD)
268262 echo "HEAD after merge: ${AFTER_SHA}"
You can’t perform that action at this time.
0 commit comments