diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1618f888c..f693c93a8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -60,25 +60,5 @@ jobs: with: identifier: o2sh.onefetch installers-regex: '\.exe$' + version: ${{ github.event.release.tag_name }} token: ${{ secrets.WINGET_TOKEN }} - - cargo-publish: - name: Publish to crates.io - runs-on: ubuntu-latest - env: - CARGO_TERM_COLOR: always - - steps: - - uses: actions/checkout@v3 - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - components: clippy - - - name: Publish to crates.io - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - run: cargo publish