Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans authored Nov 1, 2024
1 parent b6cd61b commit 20e84db
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ jobs:
toolchain: stable
override: true

- run: cargo publish --features full --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
- name: Publish on crates.io
run: cargo publish --features full --token ${{ secrets.CRATES_TOKEN }}
check-publish:
name: Check Publish
runs-on: ubuntu-latest
Expand All @@ -42,6 +41,5 @@ jobs:
toolchain: stable
override: true

- run: cargo publish --features cli --token ${CRATES_TOKEN} --dry-run -v
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
- name: Check if can publish on crates.io
run: cargo publish --features cli --token ${{ secrets.CRATES_TOKEN }} --dry-run -v

0 comments on commit 20e84db

Please sign in to comment.