Skip to content

Commit 01715cd

Browse files
committed
CI: Simplify release job
1 parent 6a44b75 commit 01715cd

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,8 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v2
15-
16-
- uses: actions-rs/toolchain@v1
17-
with:
18-
profile: minimal
19-
toolchain: stable
20-
override: true
21-
22-
- name: cargo login
23-
uses: actions-rs/cargo@v1
24-
with:
25-
command: login
26-
args: ${{ secrets.CRATES_IO_TOKEN }}
27-
28-
- name: cargo publish
29-
uses: actions-rs/cargo@v1
30-
with:
31-
command: publish
15+
- run: rustup set profile minimal
16+
- run: rustup show
17+
- run: cargo publish
18+
env:
19+
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

0 commit comments

Comments
 (0)