🔖 Bump version to 0.17.0 #59
Workflow file for this run
This file contains 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 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
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 }}" |