Skip to content

⚡ Add cargo publish ci. #1

⚡ Add cargo publish ci.

⚡ Add cargo publish ci. #1

Workflow file for this run

name: Publish
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo build --verbose
- run: cargo test --verbose
- run: cargo publish --verbose
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}