mirror of
https://github.com/ilyakooo0/reshape.git
synced 2024-11-24 19:40:56 +03:00
21 lines
464 B
YAML
21 lines
464 B
YAML
name: Publish crate
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
publish-crate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Select Rust toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- name: Publish to crates.io
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: publish
|
|
env:
|
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|