From f1920d7b54b89432e9d8f210fdc56c82ed8e805d Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Thu, 9 Jan 2020 21:11:52 +0000 Subject: Still double compiling. Try this. --- .github/workflows/release.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to '.github/workflows/release.yaml') diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 75c2f41ae..3d45413e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -60,17 +60,11 @@ jobs: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} - - name: Compile - uses: actions-rs/cargo@v1 - with: - command: build - args: --release - - - name: Test + - name: Compile and Test uses: actions-rs/cargo@v1 with: command: test - args: --release + args: --release --all-targets - name: Prepare cache run: cargo xtask pre-cache @@ -93,7 +87,7 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v1 with: - name: executables-${{ matrix.os }} + name: server-${{ matrix.os }} path: ./dist type-script: -- cgit v1.2.3