|
8 | 8 | test-bot:
|
9 | 9 | strategy:
|
10 | 10 | matrix:
|
11 |
| - os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13, macos-latest] |
| 11 | + os: [ubuntu-20.04, ubuntu-22.04, macos-13, macos-latest] |
12 | 12 | runs-on: ${{ matrix.os }}
|
13 | 13 | env:
|
14 | 14 | HOMEBREW_NO_INSTALL_FROM_API: 1
|
|
29 | 29 | if: steps.cache.outputs.cache-hit != 'true'
|
30 | 30 | run: brew install-bundler-gems
|
31 | 31 |
|
32 |
| - # New step: Collect extra debug information for macOS-12 |
33 |
| - - name: Brew info on openssl@3 and zlib (macos-12) |
34 |
| - if: matrix.os == 'macos-12' |
35 |
| - run: | |
36 |
| - brew info openssl@3 |
37 |
| - brew info zlib |
38 |
| -
|
39 |
| - - name: Collect diagnostics for macOS-12 |
40 |
| - if: matrix.os == 'macos-12' |
41 |
| - run: | |
42 |
| - brew config |
43 |
| - brew doctor |
44 |
| -
|
45 | 32 | - run: brew test-bot --only-cleanup-before
|
46 | 33 |
|
47 | 34 | - run: brew test-bot --only-setup
|
|
51 | 38 | - run: brew test-bot --only-formulae
|
52 | 39 | if: github.event_name == 'pull_request'
|
53 | 40 |
|
54 |
| - # New Step: Run `brew bottle` and commit formula updates |
55 |
| - - name: Build bottles and update formula |
56 |
| - if: matrix.os == 'macos-12' |
57 |
| - run: | |
58 |
| - brew bottle coverallsapp/coveralls/coveralls |
59 |
| - brew bottle --merge --write ./coveralls--0.6.15.*.bottle.json |
60 |
| - git config --global user.name "GitHub Actions" |
61 |
| - git config --global user.email "[email protected]" |
62 |
| - git add Formula/coveralls.rb |
63 |
| - git commit -m "Update formula with new bottle hashes for ${{ matrix.os }}" |
64 |
| - env: |
65 |
| - HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
66 |
| - |
67 | 41 | - name: Upload bottles as artifact
|
68 | 42 | if: always() && github.event_name == 'pull_request'
|
69 | 43 | uses: actions/upload-artifact@v4
|
|
0 commit comments