Skip to content

Commit d7b2da2

Browse files
committed
Update GitHub Actions workflows
1 parent 8e2d924 commit d7b2da2

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
- name: Set up Homebrew
1818
uses: Homebrew/actions/setup-homebrew@master
1919
with:
20-
token: ${{ github.token }}
20+
token: ${{ secrets.HOMEBREW_API_TOKEN }}
2121

2222
- name: Set up git
2323
uses: Homebrew/actions/git-user-config@main
2424

2525
- name: Pull bottles
2626
env:
27-
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
27+
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_API_TOKEN }}
2828
PULL_REQUEST: ${{ github.event.pull_request.number }}
2929
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
3030

.github/workflows/tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,26 @@ jobs:
88
test-bot:
99
strategy:
1010
matrix:
11-
os: [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15]
11+
os: [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15, macos-26]
1212
runs-on: ${{ matrix.os }}
1313
permissions:
1414
actions: read
1515
checks: read
1616
contents: read
1717
pull-requests: read
18-
env:
19-
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_API_TOKEN }}
2018
steps:
2119
- name: Set up Homebrew
2220
id: set-up-homebrew
2321
uses: Homebrew/actions/setup-homebrew@main
2422
with:
25-
token: ${{ github.token }}
23+
token: ${{ secrets.HOMEBREW_API_TOKEN }}
2624

2725
- name: Cache Homebrew Bundler RubyGems
28-
id: cache
2926
uses: actions/cache@v4
3027
with:
3128
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
32-
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
33-
restore-keys: ${{ runner.os }}-rubygems-
29+
key: ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
30+
restore-keys: ${{ matrix.os }}-rubygems-
3431

3532
- run: brew test-bot --only-cleanup-before
3633

0 commit comments

Comments
 (0)