Skip to content

Merge branch 'readme' into feature/ebpf-core #17

Merge branch 'readme' into feature/ebpf-core

Merge branch 'readme' into feature/ebpf-core #17

name: publish-cli-version
on:
push:
branches: [ main ]
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
Publish:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Protoc
run: apt-get update && apt-get install -y protobuf-compiler
- name: test version (dry-run) and metadata checks
working-directory: ./cli
run: cargo publish --dry-run
- name: Publish on crates.io
working-directory: ./cli
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CF_TOKEN_CARGO_API }}