Skip to content

Commit f1920d7

Browse files
committed
Still double compiling. Try this.
1 parent 477668f commit f1920d7

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,11 @@ jobs:
6060
path: target
6161
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
6262

63-
- name: Compile
64-
uses: actions-rs/cargo@v1
65-
with:
66-
command: build
67-
args: --release
68-
69-
- name: Test
63+
- name: Compile and Test
7064
uses: actions-rs/cargo@v1
7165
with:
7266
command: test
73-
args: --release
67+
args: --release --all-targets
7468

7569
- name: Prepare cache
7670
run: cargo xtask pre-cache
@@ -93,7 +87,7 @@ jobs:
9387
- name: Upload artifacts
9488
uses: actions/upload-artifact@v1
9589
with:
96-
name: executables-${{ matrix.os }}
90+
name: server-${{ matrix.os }}
9791
path: ./dist
9892

9993
type-script:

0 commit comments

Comments
 (0)