@@ -24,16 +24,11 @@ jobs:
24
24
uses : Homebrew/actions/setup-homebrew@master
25
25
26
26
- name : Cache Homebrew Bundler RubyGems
27
- id : cache
28
- uses : actions/cache@v3
27
+ uses : actions/cache@v4
29
28
with :
30
29
path : ${{ steps.set-up-homebrew.outputs.gems-path }}
31
- key : ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
32
- restore-keys : ${{ runner.os }}-rubygems-
33
-
34
- - name : Install Homebrew Bundler RubyGems
35
- if : steps.cache.outputs.cache-hit != 'true'
36
- run : brew install-bundler-gems
30
+ key : ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
31
+ restore-keys : ${{ matrix.os }}-rubygems-
37
32
38
33
- run : brew test-bot --only-cleanup-before
39
34
@@ -45,19 +40,10 @@ jobs:
45
40
if : github.event_name == 'pull_request'
46
41
env :
47
42
HOMEBREW_GITHUB_API_TOKEN : ${{ github.token }} # required
48
-
49
- - name : Failures Summary and Bottle Result
50
- if : always()
51
- uses : Homebrew/actions/failures-summary-and-bottle-result@master
52
- with :
53
- workdir : ${{ github.workspace }}
54
- result_path : bottles/steps_output.txt
55
- step_name : ' Build failure summary on ${{ matrix.os }}'
56
- collapse : ' true'
57
-
43
+
58
44
- name : Upload bottles as artifact
59
45
if : always() && github.event_name == 'pull_request'
60
- uses : actions/upload-artifact@v3
46
+ uses : actions/upload-artifact@v4
61
47
with :
62
- name : bottles
63
- path : ' *.bottle.*'
48
+ name : bottles_${{ matrix.os }}
49
+ path : " *.bottle.*"
0 commit comments