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 1111 TERM : xterm-256color
1212
1313jobs :
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
4545
4646
4747 build :
4848 name : build (${{ matrix.os }})
4949
50- # needs: [create-release]
50+ needs : [create-release]
5151
5252 strategy :
5353 fail-fast : false
You can’t perform that action at this time.
0 commit comments