26 lines
472 B
YAML
26 lines
472 B
YAML
|
name: Publish to crates.io
|
||
|
|
||
|
on:
|
||
|
release:
|
||
|
|
||
|
env:
|
||
|
CARGO_TERM_COLOR: always
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: docker
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4
|
||
|
|
||
|
- name: Login
|
||
|
uses: https://git.kemitix.net/kemitix/rust@v0.3.1
|
||
|
with:
|
||
|
args: login "$CARGO_REGISTRY_TOKEN"
|
||
|
|
||
|
- name: Publish
|
||
|
uses: https://git.kemitix.net/kemitix/rust@v0.3.1
|
||
|
with:
|
||
|
args: publish --registry crates-io --no-verify
|