mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
chore(ci): Add a CI script to publish from github actions (#2353)
This commit is contained in:
parent
6d35e7c28d
commit
305f90ce76
23
.github/workflows/publish-cargo.yml
vendored
Normal file
23
.github/workflows/publish-cargo.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
on: workflow_dispatch
|
||||
|
||||
name: Publish crates
|
||||
|
||||
jobs:
|
||||
publish-all:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install cargo-mono
|
||||
run: |
|
||||
cargo install cargo-mono
|
||||
|
||||
- name: Login
|
||||
run: |
|
||||
cargo login ${{ secrets.CARGO_TOKEN }}
|
||||
|
||||
- name: Publish crates
|
||||
run: |
|
||||
cargo mono publish
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2525,7 +2525,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swc_css_parser"
|
||||
version = "0.8.2"
|
||||
version = "0.8.3"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"lexical",
|
||||
|
Loading…
Reference in New Issue
Block a user