From 30ca917316bc990b3f0cbbb364a33f89770fc3a3 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Wed, 25 Aug 2021 23:20:30 +0800 Subject: [PATCH] Update Workflow --- .github/workflows/rust.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2aa1f90d..380e1b35 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -89,6 +89,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] + path: [async-std, tokio, rocket_example] steps: - uses: actions/checkout@v2 @@ -102,13 +103,7 @@ jobs: with: command: build args: > - --manifest-path examples/async-std/Cargo.toml - - - uses: actions-rs/cargo@v1 - with: - command: build - args: > - --manifest-path examples/tokio/Cargo.toml + --manifest-path examples/${{ matrix.path }}/Cargo.toml sqlite: name: SQLite