mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
chore: Fix script for managing crates (#2588)
This commit is contained in:
parent
4327d11d41
commit
d63553e5d7
@ -19,7 +19,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/cache@v2
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
@ -36,9 +37,9 @@ jobs:
|
||||
- name: Bump version
|
||||
run: |
|
||||
if [ "${{ github.event.inputs.breaking }}" == "1" ]; then
|
||||
cargo mono bump ${{ github.event.inputs.crate }}"
|
||||
cargo mono bump ${{ github.event.inputs.crate }} --breaking
|
||||
else
|
||||
cargo mono bump ${{ github.event.inputs.crate }}"
|
||||
cargo mono bump ${{ github.event.inputs.crate }}
|
||||
fi
|
||||
|
||||
- name: Update lockfile
|
||||
|
Loading…
Reference in New Issue
Block a user