mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
35 lines
686 B
YAML
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
|