chore: update tempoch-ffi to version 0.6.6 and prepare for crates.io … #6
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: Publish to crates.io | |
| on: | |
| push: | |
| tags: | |
| - "v[0-9]*" | |
| permissions: | |
| contents: read | |
| jobs: | |
| publish: | |
| name: cargo publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # full history so publish-changed.sh can resolve base tag | |
| - uses: dtolnay/rust-toolchain@stable | |
| # Publish changed publishable packages. | |
| # tempoch-ffi and tempoch-time-data have publish = false and are skipped automatically. | |
| # Pass --confirm-ffi and protect behind a manual environment for FFI releases. | |
| - name: Publish changed packages | |
| run: bash scripts/publish-changed.sh | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |