Update Github Actions to run cargo directly
The cargo action is deprecated so this change switches to using a bash invocation
This commit is contained in:
parent
c1e7415871
commit
39c3600022
2 changed files with 4 additions and 8 deletions
6
.github/workflows/build-rust.yml
vendored
6
.github/workflows/build-rust.yml
vendored
|
|
@ -48,8 +48,4 @@ jobs:
|
|||
targets: ${{ join(matrix.targets, ', ') }}
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: cargo build --verbose --workspace --all-features
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --workspace --all-features --target ${{ join(matrix.targets, ' --target ') }}
|
||||
run: cargo build --verbose --workspace --all-features --target ${{ join(matrix.targets, ' --target ') }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue