From 39c3600022b96c66abbd45998f84a46df8095294 Mon Sep 17 00:00:00 2001 From: Conrad Kramer Date: Mon, 10 Apr 2023 17:46:53 -0400 Subject: [PATCH] Update Github Actions to run cargo directly The cargo action is deprecated so this change switches to using a bash invocation --- .github/workflows/build-apple.yml | 6 +++--- .github/workflows/build-rust.yml | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-apple.yml b/.github/workflows/build-apple.yml index b7383b0..d1dba49 100644 --- a/.github/workflows/build-apple.yml +++ b/.github/workflows/build-apple.yml @@ -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 diff --git a/.github/workflows/build-rust.yml b/.github/workflows/build-rust.yml index 641b6b6..05b609d 100644 --- a/.github/workflows/build-rust.yml +++ b/.github/workflows/build-rust.yml @@ -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 ') }}