Return error when call was reverted #237
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Publish to crates.io | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
pull_request: | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: katyo/publish-crates@v2 | |
with: | |
dry-run: ${{ github.event_name != 'push' }} | |
registry-token: ${{ secrets.CRATES_IO_TOKEN }} | |
ignore-unpublished-changes: true |