name: rust on: push: tags: - 'v*.*.*' env: CARGO_TERM_COLOR: always permissions: contents: read jobs: publish: runs-on: ubuntu-latest steps: - uses: arduino/setup-protoc@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo publish --locked --token ${{ secrets.CRATES_IO_TOKEN }}