Skip to content

Commit d9a45e3

Browse files
committed
undo release workflow testing
1 parent 55d9c0f commit d9a45e3

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

.github/workflows/release.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,43 +11,43 @@ env:
1111
TERM: xterm-256color
1212

1313
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
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

0 commit comments

Comments
 (0)