Skip to content

Commit f2b842b

Browse files
authored
Merge pull request #9 from RocsSun/fix/ci-build-error
fix(ci): resolve the argument '--release' cannot be used multiple times
2 parents 4013b30 + d933cb7 commit f2b842b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ runs:
1818
- name: Build release
1919
if: ${{ inputs.release == 'true' }}
2020
shell: bash
21-
run: cargo build --release --target ${{ inputs.target }} -r
21+
run: cargo build --release --target ${{ inputs.target }}

.github/actions/check/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ runs:
99
if ! command -v cargo-audit &> /dev/null; then
1010
cargo install cargo-audit
1111
fi
12+
cargo install cargo-audit
1213
cargo audit
1314
1415
- name: Fmt

0 commit comments

Comments
 (0)