Skip to content

Commit ccec1bf

Browse files
committed
ci: rebase before push, switch setup-homebrew to @main, opt into Node 24 actions
1 parent 094a202 commit ccec1bf

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/bottle.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
permissions:
88
contents: write
99

10+
env:
11+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
12+
1013
jobs:
1114
test-and-bottle:
1215
name: Test and build bottles per macOS
@@ -23,7 +26,7 @@ jobs:
2326
fetch-depth: 0
2427

2528
- name: Set up Homebrew
26-
uses: Homebrew/actions/setup-homebrew@master
29+
uses: Homebrew/actions/setup-homebrew@main
2730

2831
# IMPORTANT: do NOT untap mflowcode/mfc in this job. setup-homebrew manages it and
2932
# its post-cleanup expects the tap directory to exist.
@@ -143,7 +146,7 @@ jobs:
143146
fetch-depth: 0
144147

145148
- name: Set up Homebrew
146-
uses: Homebrew/actions/setup-homebrew@master
149+
uses: Homebrew/actions/setup-homebrew@main
147150

148151
- name: Determine version and root URL (from checked-out formula)
149152
id: meta
@@ -240,6 +243,7 @@ jobs:
240243
run: |
241244
set -euo pipefail
242245
git remote set-url origin "https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git"
246+
git pull --rebase origin main
243247
git push origin HEAD:main
244248
245249
- name: Create/update release and upload bottles

0 commit comments

Comments
 (0)