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
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- scheme: App (iOS)
|
- scheme: Burrow
|
||||||
destination: generic/platform=iOS
|
destination: generic/platform=iOS
|
||||||
platform: iOS
|
platform: iOS
|
||||||
sdk-name: iphoneos
|
sdk-name: iphoneos
|
||||||
- scheme: App (iOS)
|
- scheme: Burrow
|
||||||
destination: platform=iOS Simulator,OS=16.2,name=iPhone 14 Pro
|
destination: platform=iOS Simulator,OS=16.2,name=iPhone 14 Pro
|
||||||
platform: iOS Simulator
|
platform: iOS Simulator
|
||||||
sdk-name: iphonesimulator
|
sdk-name: iphonesimulator
|
||||||
- scheme: App (macOS)
|
- scheme: Burrow
|
||||||
destination: platform=macOS
|
destination: platform=macOS
|
||||||
platform: macOS
|
platform: macOS
|
||||||
sdk-name: 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, ', ') }}
|
targets: ${{ join(matrix.targets, ', ') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cargo build --verbose --workspace --all-features
|
run: cargo build --verbose --workspace --all-features --target ${{ join(matrix.targets, ' --target ') }}
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --workspace --all-features --target ${{ join(matrix.targets, ' --target ') }}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue