File tree 1 file changed +27
-26
lines changed
1 file changed +27
-26
lines changed Original file line number Diff line number Diff line change 5
5
- " v*"
6
6
7
7
jobs :
8
- cargo_publish :
9
- runs-on : ubuntu-latest
10
- steps :
11
- - name : Setup | Checkout
12
- uses : actions/checkout@v2
13
-
14
- - name : Setup | Rust
15
- uses : actions-rs/toolchain@v1
16
- with :
17
- toolchain : stable
18
- profile : minimal
19
- override : true
20
-
21
- - name : Build | Publish
22
- run : cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
23
-
24
- # update_brew_formula:
25
- # name: Update Brew Formula
26
- # runs-on: ubuntu-latest
27
- # steps:
28
- # - uses: mislav/bump-homebrew-formula-action@v1.6
29
- # with:
30
- # formula-name: trunk
31
- # env:
32
- # COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
33
-
34
8
build :
35
9
strategy :
36
10
fail-fast : false
93
67
name : ${{ matrix.name }}
94
68
path : ${{ matrix.name }}
95
69
70
+ publish :
71
+ needs : build
72
+ runs-on : ubuntu-latest
73
+ steps :
74
+ - name : Setup | Checkout
75
+ uses : actions/checkout@v2
76
+
77
+ - name : Setup | Rust
78
+ uses : actions-rs/toolchain@v1
79
+ with :
80
+ toolchain : stable
81
+ profile : minimal
82
+ override : true
83
+
84
+ - name : Build | Publish
85
+ run : cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
86
+
96
87
release :
97
88
needs : build
98
89
runs-on : ubuntu-latest
@@ -119,3 +110,13 @@ jobs:
119
110
prerelease : true
120
111
env :
121
112
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
113
+
114
+ brew :
115
+ needs : build
116
+ runs-on : ubuntu-latest
117
+ steps :
118
+ - uses : mislav/bump-homebrew-formula-action@v1.6
119
+ with :
120
+ formula-name : trunk
121
+ env :
122
+ COMMITTER_TOKEN : ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments