Browse Source

fix cd

pull/877/head
o2sh 3 years ago
parent
commit
5085c5b038
  1. 22
      .github/workflows/cd.yml

22
.github/workflows/cd.yml

@ -60,25 +60,5 @@ jobs: @@ -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

Loading…
Cancel
Save