File tree 1 file changed +42
-2
lines changed
1 file changed +42
-2
lines changed Original file line number Diff line number Diff line change 8
8
HOMEBREW_GITHUB_ACTIONS : 1
9
9
HOMEBREW_NO_AUTO_UPDATE : 1
10
10
HOMEBREW_NO_INSTALL_FROM_API : 1
11
- HOMEBREW_NO_BUILD_ERROR_ISSUES : 1
11
+ HOMEBREW_NO_INSTALL_CLEANUP : 1
12
+ HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK : 1
12
13
BOTTLE_ROOT_URL : https://ghcr.io/v2/rbenv/tap
13
14
14
15
defaults :
@@ -21,7 +22,7 @@ permissions:
21
22
contents : read
22
23
23
24
jobs :
24
- bottle :
25
+ build :
25
26
strategy :
26
27
matrix :
27
28
70
71
path : |
71
72
*.bottle.*.tar.gz
72
73
*.bottle.json
74
+
75
+ upload :
76
+ needs : build
77
+ runs-on : ubuntu-latest
78
+ steps :
79
+ - name : Set up Homebrew
80
+ id : set-up-homebrew
81
+ uses : Homebrew/actions/setup-homebrew@master
82
+ with :
83
+ core : false
84
+ cask : false
85
+ test-bot : false
86
+
87
+ - name : Cache Homebrew Bundler RubyGems
88
+ id : cache
89
+ uses : actions/cache@v3
90
+ with :
91
+ path : ${{ steps.set-up-homebrew.outputs.gems-path }}
92
+ key : ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
93
+ restore-keys : ${{ runner.os }}-rubygems-
94
+
95
+ - name : Install Homebrew Bundler RubyGems
96
+ if : steps.cache.outputs.cache-hit != 'true'
97
+ run : brew install-bundler-gems
98
+
99
+ - name : Download artifacts
100
+ uses : actions/download-artifact@v4
101
+ with :
102
+ merge-multiple : true
103
+
104
+ - run : ls -l
105
+
106
+ - name : Upload bottles
107
+ run :
brew pr-upload --root-url "$BOTTLE_ROOT_URL" --keep-old --committer "Mislav Marohnić <[email protected] >" --warn-on-upload-failure
108
+ env :
109
+ HOMEBREW_GITHUB_PACKAGES_USER : mislav
110
+ HOMEBREW_GITHUB_PACKAGES_TOKEN : ${{ secrets.BOTTLE_UPLOAD_TOKEN }}
111
+
112
+ - run : git log -p origin/HEAD..
You can’t perform that action at this time.
0 commit comments