mirror of
https://github.com/ilyakooo0/reshape.git
synced 2024-11-22 17:26:33 +03:00
Add Github manual workflow for publishing crate
This commit is contained in:
parent
318021c87d
commit
6a345beec9
21
.github/workflows/publish-crate.yaml
vendored
Normal file
21
.github/workflows/publish-crate.yaml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Publish crate
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
publish-crate:
|
||||
runs-on: ubuntu-latest
|
||||
needs: ["build-binary", "publish-docker"]
|
||||
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 }}
|
Loading…
Reference in New Issue
Block a user