aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yaml
diff options
context:
space:
mode:
authorGiles Cope <[email protected]>2020-01-09 21:11:52 +0000
committerGiles Cope <[email protected]>2020-01-09 21:11:52 +0000
commitf1920d7b54b89432e9d8f210fdc56c82ed8e805d (patch)
tree170834d7beaf3b5c8b591af08a6c0b4411eff429 /.github/workflows/release.yaml
parent477668fc223136064f8af48af1125380f98bfc65 (diff)
Still double compiling. Try this.
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml12
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: