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-apple.yml
vendored
6
.github/workflows/build-apple.yml
vendored
|
|
@ -14,15 +14,15 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- scheme: App (iOS)
|
||||
- scheme: Burrow
|
||||
destination: generic/platform=iOS
|
||||
platform: iOS
|
||||
sdk-name: iphoneos
|
||||
- scheme: App (iOS)
|
||||
- scheme: Burrow
|
||||
destination: platform=iOS Simulator,OS=16.2,name=iPhone 14 Pro
|
||||
platform: iOS Simulator
|
||||
sdk-name: iphonesimulator
|
||||
- scheme: App (macOS)
|
||||
- scheme: Burrow
|
||||
destination: platform=macOS
|
||||
platform: macOS
|
||||
sdk-name: macos
|
||||
|
|
|
|||
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