Skip to content

Commit 35578b5

Browse files
committed
update workflows to latest version
Signed-off-by: Bugen Zhao <[email protected]>
1 parent 8d54c81 commit 35578b5

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,11 @@ jobs:
2424
uses: Homebrew/actions/setup-homebrew@master
2525

2626
- name: Cache Homebrew Bundler RubyGems
27-
id: cache
28-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2928
with:
3029
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-
3732

3833
- run: brew test-bot --only-cleanup-before
3934

@@ -45,19 +40,10 @@ jobs:
4540
if: github.event_name == 'pull_request'
4641
env:
4742
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+
5844
- name: Upload bottles as artifact
5945
if: always() && github.event_name == 'pull_request'
60-
uses: actions/upload-artifact@v3
46+
uses: actions/upload-artifact@v4
6147
with:
62-
name: bottles
63-
path: '*.bottle.*'
48+
name: bottles_${{ matrix.os }}
49+
path: "*.bottle.*"

0 commit comments

Comments
 (0)