Skip to content

🔖 Bump version to 0.15.0 #53

🔖 Bump version to 0.15.0

🔖 Bump version to 0.15.0 #53

Workflow file for this run

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 }}"