File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 10
10
strategy :
11
11
matrix :
12
12
os : [ubuntu-latest, macos-latest, windows-latest]
13
-
13
+
14
14
runs-on : ${{ matrix.os }}
15
15
steps :
16
16
- uses : actions/checkout@v2
39
39
run : |
40
40
rustup target add x86_64-unknown-linux-musl
41
41
sudo apt-get -qq install musl-tools
42
-
42
+
43
43
- name : Build Release Mac
44
44
if : matrix.os == 'macos-latest'
45
45
run : make release-mac
@@ -71,13 +71,21 @@ jobs:
71
71
env :
72
72
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
73
74
- - name : Bump Brew
74
+ - name : Bump extrawurst/homebrew-tap formula
75
75
if : matrix.os == 'macos-latest'
76
- env :
76
+ env :
77
77
HOMEBREW_GITHUB_API_TOKEN : ${{ secrets.BREW_TOKEN }}
78
78
run : |
79
79
brew tap extrawurst/tap
80
80
brew bump-formula-pr -f --version=${{ steps.get_version.outputs.version }} --no-browse --no-audit \
81
81
--sha256=${{ steps.shasum.outputs.sha }} \
82
82
--url="https://github.com/extrawurst/gitui/releases/download/${{ steps.get_version.outputs.version }}/gitui-mac.tar.gz" \
83
- extrawurst/tap/gitui
83
+ extrawurst/tap/gitui
84
+
85
+ - name : Bump homebrew-core formula
86
+ uses : mislav/bump-homebrew-formula-action@v1
87
+ if : " matrix.os == 'macos-latest' && !contains(github.ref, '-')" # skip prereleases
88
+ env :
89
+ COMMITTER_TOKEN : ${{ secrets.BREW_TOKEN }}
90
+ with :
91
+ formula-name : gitui
You can’t perform that action at this time.
0 commit comments