Fix syntax error in yml

This commit is contained in:
Jonathan Kelley committed 2023-07-19 13:26:34 -07:00
1 parent d9f0b14968
commit 27a6babbd7
1 file changed
+11 -6
+11 -6
View File
@@ -93,35 +93,40 @@ jobs:
os: windows-latest, os: windows-latest,
toolchain: '1.65.0', toolchain: '1.65.0',
cross: false, cross: false,
command: 'test --all --tests' command: 'test',
args: '--all --tests'
} }
- { - {
target: x86_64-unknown-linux-gnu, target: x86_64-unknown-linux-gnu,
os: ubuntu-latest, os: ubuntu-latest,
toolchain: '1.65.0', toolchain: '1.65.0',
cross: false, cross: false,
command: 'test --all --tests' command: 'test',
args: '--all --tests'
} }
- { - {
target: x86_64-apple-darwin, target: x86_64-apple-darwin,
os: macos-latest, os: macos-latest,
toolchain: '1.65.0', toolchain: '1.65.0',
cross: false, cross: false,
command: 'test --all --tests' command: 'test',
args: '--all --tests'
} }
- { - {
target: aarch64-apple-ios, target: aarch64-apple-ios,
os: macos-latest, os: macos-latest,
toolchain: '1.65.0', toolchain: '1.65.0',
cross: false, cross: false,
command: 'build --package dioxus-mobile' command: 'build',
args: '--package dioxus-mobile'
} }
- { - {
target: aarch64-linux-android, target: aarch64-linux-android,
os: ubuntu-latest, os: ubuntu-latest,
toolchain: '1.65.0', toolchain: '1.65.0',
cross: true, cross: true,
command: 'build --package dioxus-mobile' command: 'build',
args: '--package dioxus-mobile'
} }
steps: steps:
@@ -151,7 +156,7 @@ jobs:
with: with:
use-cross: ${{ matrix.platform.cross }} use-cross: ${{ matrix.platform.cross }}
command: ${{ matrix.platform.command }} command: ${{ matrix.platform.command }}
args: --target ${{ matrix.platform.target }} args: --target ${{ matrix.platform.target }} ${{ matrix.platform.args }}