File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 6
6
paths-ignore :
7
7
- " **/docs/**"
8
8
- " **.md"
9
+ workflow_dispatch :
10
+ inputs :
11
+ version :
12
+ type : string
13
+ description : " Version"
14
+ required : true
15
+ default : " 0.1.0"
9
16
10
17
jobs :
11
18
# call out to build.yml
12
19
doing-a-build :
13
20
uses : sassman/t-rec-rs/.github/workflows/build.yml@main
14
21
15
22
publish :
23
+ if : github.event_name == 'push' && contains(github.event.ref, 'refs/tags/v')
16
24
name : post / cargo publish
17
25
needs : [doing-a-build]
18
26
runs-on : macos-latest
34
42
needs : [publish]
35
43
runs-on : macos-latest
36
44
steps :
37
- - uses : mislav/bump-homebrew-formula-action@v1
45
+ - uses : mislav/bump-homebrew-formula-action@v3
38
46
with :
39
47
formula-name : t-rec
40
48
env :
68
76
id : create_release
69
77
uses : actions/create-release@v1
70
78
env :
71
- GITHUB_TOKEN : ${{ secrets.GH_PAT }}
79
+ GITHUB_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
72
80
with :
73
81
# This pulls from the "Get Changelog Entry" step above, referencing it's ID to get its outputs object.
74
82
# See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
You can’t perform that action at this time.
0 commit comments