File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 99 HOMEBREW_NO_AUTO_UPDATE : 1
1010 HOMEBREW_NO_INSTALL_FROM_API : 1
1111 HOMEBREW_NO_BUILD_ERROR_ISSUES : 1
12+ BOTTLE_ROOT_URL : https://ghcr.io/v2/rbenv/tap
1213
1314defaults :
1415 run :
2324 bottle :
2425 strategy :
2526 matrix :
26- os : [macos-12, macos-13, macos-14, macos-15]
27+ formula : [openssl@1.0, openssl@1.1]
28+ os : [macos-13, macos-14, macos-15]
29+
2730 runs-on : ${{ matrix.os }}
31+
2832 steps :
2933 - name : Set up Homebrew
3034 id : set-up-homebrew
4751 run : brew install-bundler-gems
4852
4953 - name : Install formula
50- run : brew install --build-bottle rbenv/tap/openssl@1.1
54+ run : brew install --build-bottle "$FORMULA_NAME"
55+ env :
56+ FORMULA_NAME : rbenv/tap/${{ matrix.formula }}
5157
5258 - name : Build bottle
53- run : brew bottle --json rbenv/tap/openssl@1.1
59+ run : brew bottle --json "$FORMULA_NAME" --root-url "$BOTTLE_ROOT_URL" --keep-old
60+ env :
61+ FORMULA_NAME : rbenv/tap/${{ matrix.formula }}
5462
5563 - run : ls -l
64+
65+ - name : Upload artifacts
66+ uses : actions/upload-artifact@v4
67+ with :
68+ name : bottle_${{ matrix.formula }}_${{ matrix.os }}
69+ if-no-files-found : error
70+ path :
71+ - " *.bottle.*.tar.gz"
72+ - " *.bottle.json"
You can’t perform that action at this time.
0 commit comments