keep all futures in the same scope #13
This file contains hidden or 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 | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| override: true | |
| - uses: katyo/publish-crates@v2 | |
| with: | |
| dry-run: ${{ github.event_name != 'push' }} | |
| registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| ignore-unpublished-changes: true |