This repository was archived by the owner on Sep 26, 2024. It is now read-only.
File tree 1 file changed +9
-14
lines changed
1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change 1
- name : goreleaser
1
+ name : releaser
2
2
3
3
on :
4
4
push :
@@ -13,25 +13,24 @@ permissions:
13
13
14
14
jobs :
15
15
publish-crates :
16
- name : Publish Creates
16
+ name : Publish to crates.io
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- name : Checkout
20
20
uses : actions/checkout@v2
21
21
with :
22
22
fetch-depth : 0
23
- - uses : actions/download-artifact@v3
24
- with :
25
- name : tkn-watch-x86_64-unknown-linux-gnu
26
- path : target/linux_amd64/tkn-watch
27
- - uses : actions/download-artifact@v3
23
+ - name : Install stable toolchain
24
+ uses : actions-rs/toolchain@v1
28
25
with :
29
- name : tkn-watch-x86_64-apple-darwin
30
- path : target/darwin_amd64/tkn-watch
26
+ profile : minimal
27
+ toolchain : stable
28
+ override : true
29
+
30
+ - uses : Swatinem/rust-cache@v1
31
31
- uses : katyo/publish-crates@v1
32
32
with :
33
33
registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
34
-
35
34
build :
36
35
# runs-on: ubuntu-latest
37
36
name : ${{ matrix.job.os }} (${{ matrix.job.target }})
91
90
env :
92
91
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93
92
AUR_PRIVATE_KEY : ${{ secrets.AUR_PRIVATE_KEY }}
94
-
95
- - uses : katyo/publish-crates@v1
96
- with :
97
- registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments