File tree Expand file tree Collapse file tree 1 file changed +32
-32
lines changed Expand file tree Collapse file tree 1 file changed +32
-32
lines changed Original file line number Diff line number Diff line change 11
11
TERM : xterm-256color
12
12
13
13
jobs :
14
- # create-release:
15
- # runs-on: ubuntu-latest
16
- #
17
- # steps:
18
- # - uses: actions/checkout@v3
19
- #
20
- # - uses: actions-rs/toolchain@v1
21
- # with:
22
- # profile: minimal
23
- # toolchain: nightly
24
- # default: true
25
- #
26
- # - uses: actions/cache@v3
27
- # with:
28
- # path: |
29
- # ~/.cargo/bin
30
- # ~/.cargo/registry/index
31
- # ~/.cargo/registry/cache
32
- # ~/.cargo/git/db
33
- # ./target
34
- # key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
35
- # restore-keys: |
36
- # ${{ runner.os }}-cargo-build-
37
- #
38
- # - run: cargo publish
39
- # env:
40
- # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
41
- #
42
- # - uses: softprops/action-gh-release@v1
43
- # with:
44
- # draft: true
14
+ create-release :
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ - uses : actions-rs/toolchain@v1
21
+ with :
22
+ profile : minimal
23
+ toolchain : nightly
24
+ default : true
25
+
26
+ - uses : actions/cache@v3
27
+ with :
28
+ path : |
29
+ ~/.cargo/bin
30
+ ~/.cargo/registry/index
31
+ ~/.cargo/registry/cache
32
+ ~/.cargo/git/db
33
+ ./target
34
+ key : ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
35
+ restore-keys : |
36
+ ${{ runner.os }}-cargo-build-
37
+
38
+ - run : cargo publish
39
+ env :
40
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
41
+
42
+ - uses : softprops/action-gh-release@v1
43
+ with :
44
+ draft : true
45
45
46
46
47
47
build :
48
48
name : build (${{ matrix.os }})
49
49
50
- # needs: [create-release]
50
+ needs : [create-release]
51
51
52
52
strategy :
53
53
fail-fast : false
You can’t perform that action at this time.
0 commit comments