diff options
-rw-r--r-- | .github/workflows/release.yaml | 12 |
1 files changed, 3 insertions, 9 deletions
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: | |||
60 | path: target | 60 | path: target |
61 | key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} | 61 | key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} |
62 | 62 | ||
63 | - name: Compile | 63 | - name: Compile and Test |
64 | uses: actions-rs/cargo@v1 | ||
65 | with: | ||
66 | command: build | ||
67 | args: --release | ||
68 | |||
69 | - name: Test | ||
70 | uses: actions-rs/cargo@v1 | 64 | uses: actions-rs/cargo@v1 |
71 | with: | 65 | with: |
72 | command: test | 66 | command: test |
73 | args: --release | 67 | args: --release --all-targets |
74 | 68 | ||
75 | - name: Prepare cache | 69 | - name: Prepare cache |
76 | run: cargo xtask pre-cache | 70 | run: cargo xtask pre-cache |
@@ -93,7 +87,7 @@ jobs: | |||
93 | - name: Upload artifacts | 87 | - name: Upload artifacts |
94 | uses: actions/upload-artifact@v1 | 88 | uses: actions/upload-artifact@v1 |
95 | with: | 89 | with: |
96 | name: executables-${{ matrix.os }} | 90 | name: server-${{ matrix.os }} |
97 | path: ./dist | 91 | path: ./dist |
98 | 92 | ||
99 | type-script: | 93 | type-script: |