Skip to content

Commit 5085c5b

Browse files
committed
fix cd
1 parent 2342483 commit 5085c5b

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,5 @@ jobs:
6060
with:
6161
identifier: o2sh.onefetch
6262
installers-regex: '\.exe$'
63+
version: ${{ github.event.release.tag_name }}
6364
token: ${{ secrets.WINGET_TOKEN }}
64-
65-
cargo-publish:
66-
name: Publish to crates.io
67-
runs-on: ubuntu-latest
68-
env:
69-
CARGO_TERM_COLOR: always
70-
71-
steps:
72-
- uses: actions/checkout@v3
73-
74-
- name: Install Rust
75-
uses: actions-rs/toolchain@v1
76-
with:
77-
toolchain: stable
78-
profile: minimal
79-
components: clippy
80-
81-
- name: Publish to crates.io
82-
env:
83-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
84-
run: cargo publish

0 commit comments

Comments
 (0)