Skip to content

v0.1.6

v0.1.6 #3

Workflow file for this run

name: Publish to crates.io
on:
push:
tags:
- "v*"
env:
CARGO_TERM_COLOR: always
jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Publish libgitmgr to crates.io
run: cargo publish --manifest-path lib/libgitmgr/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish gitmgr to crates.io
run: cargo publish --manifest-path bin/gitmgr/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }}