swc/.github/workflows/publish-cargo.yml
2021-10-07 16:07:55 +09:00

35 lines
686 B
YAML

on: workflow_dispatch
name: Managment
jobs:
publish-crates:
name: Publish crates
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: cargo-publish-crates
- name: Install cargo-mono
continue-on-error: true
run: |
cargo install cargo-mono
- name: Login
run: |
cargo login ${{ secrets.CARGO_TOKEN }}
- name: Publish crates
run: |
cargo mono publish