From 5085c5b038c46ecb9fb16329caf5479b35a963c6 Mon Sep 17 00:00:00 2001 From: o2sh Date: Sun, 27 Nov 2022 22:16:05 +0100 Subject: [PATCH] fix cd --- .github/workflows/cd.yml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) 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