Merge pull request #266 from fireflyprotocol/sync-SDK-versions #4
Workflow file for this run
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: crates.io Release | |
| on: | |
| push: | |
| tags: | |
| - rust-release-* | |
| jobs: | |
| publish-rust: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: rust | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Verify build | |
| run: cargo --color=never build --release | |
| - name: Publish to crates.io | |
| run: cargo --color=never publish --workspace | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} |