🔖 Bump version to 0.29.0 #143
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 Rust crate | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| concurrency: | |
| group: "publish" | |
| cancel-in-progress: false | |
| jobs: | |
| publish: | |
| name: Publish crate | |
| timeout-minutes: 60 | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| with: | |
| submodules: true | |
| - uses: ./.github/actions/setup-rust | |
| - name: install dependencies | |
| run: | | |
| sudo apt update | |
| sudo apt install -y libacl1-dev | |
| - if: startsWith(github.ref, 'refs/tags/libpna') | |
| name: Publish libpna crate | |
| run: cargo publish -p libpna | |
| working-directory: . | |
| env: | |
| CARGO_REGISTRY_TOKEN: "${{ secrets.CRATES_IO_API_KEY }}" | |
| - if: startsWith(github.ref, 'refs/tags/pna') | |
| name: Publish pna crate | |
| run: cargo publish -p pna | |
| working-directory: . | |
| env: | |
| CARGO_REGISTRY_TOKEN: "${{ secrets.CRATES_IO_API_KEY }}" | |
| - if: startsWith(github.ref, 'refs/tags/portable-network-archive') | |
| name: Publish portable-network-archive crate | |
| run: cargo publish -p portable-network-archive | |
| working-directory: . | |
| env: | |
| CARGO_REGISTRY_TOKEN: "${{ secrets.CRATES_IO_API_KEY }}" |