Skip to content

Commit

Permalink
feat: fix release CI script (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 authored Feb 9, 2024
1 parent 7ee0a4b commit 0724e01
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,19 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@master
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
run: |
rustup set profile minimal
rustup update --no-self-update stable
rustup default stable
- name: Cargo Login
uses: actions-rs/cargo@v1
with:
command: login
args: -- ${{ secrets.CARGO_TOKEN }}
run: cargo login ${{ secrets.CARGO_TOKEN }}

- name: Cargo Publish
uses: actions-rs/cargo@v1
with:
command: publish
args: --no-verify
run: cargo publish

- name: GitHub Release
id: create_release
Expand Down

0 comments on commit 0724e01

Please sign in to comment.