File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 4
4
types : [published]
5
5
6
6
jobs :
7
+ publish :
8
+ name : publish
9
+ runs-on : ubuntu-latest
10
+ timeout-minutes : 60
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v3
14
+
15
+ - name : Install Rust toolchain
16
+ uses : actions-rs/toolchain@v1
17
+ with :
18
+ toolchain : stable
19
+ profile : minimal
20
+ override : true
21
+ - name : Install cargo-workspaces
22
+ uses :
actions-rs/[email protected]
23
+ with :
24
+ crate : cargo-workspaces
25
+ - name : Release
26
+ env :
27
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
28
+ PATCH : ${{ github.run_number }}
29
+ shell : bash
30
+ run : |
31
+ git config --global user.email "[email protected] "
32
+ git config --global user.name "Github Action"
33
+ cargo workspaces publish \
34
+ --from-git \
35
+ --yes \
36
+ --no-git-commit \
37
+ skip
38
+
7
39
doc-publish :
40
+ needs : publish
8
41
runs-on : ubuntu-latest
9
42
timeout-minutes : 60
10
43
steps :
You can’t perform that action at this time.
0 commit comments