Skip to content

Commit

Permalink
Merge pull request #186970 from Homebrew/dispatch-build-bottle-setup-…
Browse files Browse the repository at this point in the history
…homebrew

workflows/dispatch-build-bottle: move `setup-homebrew` step to beginning
  • Loading branch information
ZhongRuoyu authored Sep 11, 2024
2 parents 1b09dcf + bd32356 commit 80b22ac
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/dispatch-build-bottle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,17 @@ jobs:
runs-on: ubuntu-22.04
container:
image: ghcr.io/homebrew/ubuntu22.04:master
options: --user=root
outputs:
runners: ${{steps.runner-matrix.outputs.result}}
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
cask: false
test-bot: false

- name: Prepare runner matrix
id: runner-matrix
uses: actions/github-script@v7
Expand Down Expand Up @@ -82,14 +89,6 @@ jobs:
return {runner: s, cleanup: true};
});
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
cask: false
test-bot: false

- name: Check for existing bottle
shell: brew ruby {0}
env:
Expand Down

0 comments on commit 80b22ac

Please sign in to comment.