chore: Fix script for managing crates (#2588)

This commit is contained in:
Donny/강동윤 2021-10-30 16:23:30 +09:00 committed by GitHub
parent 4327d11d41
commit d63553e5d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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