Skip to content

Commit

Permalink
fix cd
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Nov 27, 2022
1 parent 2342483 commit 5085c5b
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 comments on commit 5085c5b

@o2sh
Copy link
Owner Author

@o2sh o2sh commented on 5085c5b Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spenserblack I had to remove this part because it does not handle workspaces. I published onefetch-image, onefetch-manifest and onefetch to crates.io manually.

Not sure if it can be automated 🤔

@spenserblack
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would need to be made into 3 cargo publish steps with different working-directory settings 🤔

Please sign in to comment.