From 27a6babbd7625d5cbf2a886c05f9d8098ecbeefd Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Wed, 19 Jul 2023 13:26:34 -0700 Subject: [PATCH] Fix syntax error in yml --- .github/workflows/main.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 280cf8c73..e2b01f525 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -93,35 +93,40 @@ jobs: os: windows-latest, toolchain: '1.65.0', cross: false, - command: 'test --all --tests' + command: 'test', + args: '--all --tests' } - { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, toolchain: '1.65.0', cross: false, - command: 'test --all --tests' + command: 'test', + args: '--all --tests' } - { target: x86_64-apple-darwin, os: macos-latest, toolchain: '1.65.0', cross: false, - command: 'test --all --tests' + command: 'test', + args: '--all --tests' } - { target: aarch64-apple-ios, os: macos-latest, toolchain: '1.65.0', cross: false, - command: 'build --package dioxus-mobile' + command: 'build', + args: '--package dioxus-mobile' } - { target: aarch64-linux-android, os: ubuntu-latest, toolchain: '1.65.0', cross: true, - command: 'build --package dioxus-mobile' + command: 'build', + args: '--package dioxus-mobile' } steps: @@ -151,7 +156,7 @@ jobs: with: use-cross: ${{ matrix.platform.cross }} command: ${{ matrix.platform.command }} - args: --target ${{ matrix.platform.target }} + args: --target ${{ matrix.platform.target }} ${{ matrix.platform.args }}