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:
Conrad Kramer 2023-04-10 17:46:53 -04:00
parent c1e7415871
commit 39c3600022
2 changed files with 4 additions and 8 deletions

View file

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

View file

@ -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 ') }}