File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,20 @@ name: CD
2
2
3
3
on :
4
4
push :
5
- branches : [ '*' ]
6
- # push:
7
- # tags:
8
- # - '*'
5
+ tags :
6
+ - ' *'
9
7
10
8
jobs :
11
9
release-osx :
12
10
runs-on : macos-latest
13
11
steps :
14
12
- uses : actions/checkout@v2
15
- # - name: Build
16
- # run: cargo build
17
- # - name: Run tests
18
- # run: make test
19
- # - name: Run clippy
20
- # run: make clippy
13
+ - name : Build
14
+ run : cargo build
15
+ - name : Run tests
16
+ run : make test
17
+ - name : Run clippy
18
+ run : make clippy
21
19
- name : Build Release
22
20
run : make build-release
23
21
52
50
HOMEBREW_GITHUB_API_TOKEN : ${{ secrets.BREW_TOKEN }}
53
51
run : |
54
52
brew tap extrawurst/tap
55
- brew bump-formula-pr -f --version=v0.2.0 --no-browse --no-audit \
53
+ brew bump-formula-pr -f --version=${{ github.ref }} --no-browse --no-audit \
56
54
--sha256=${{ steps.shasum.outputs.sha }} \
57
- --url="https://github.com/extrawurst/gitui/releases/download/refs%2Fheads%2Fcd-pipeline /gitui-mac.tar.gz" \
55
+ --url="https://github.com/extrawurst/gitui/releases/download/${{ github.ref }} /gitui-mac.tar.gz" \
58
56
extrawurst/tap/gitui
You can’t perform that action at this time.
0 commit comments