diff options
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r-- | .github/workflows/release.yaml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6cb27482d..b14aa6880 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -18,7 +18,6 @@ jobs: | |||
18 | RUN_SLOW_TESTS: 1 | 18 | RUN_SLOW_TESTS: 1 |
19 | RUSTUP_MAX_RETRIES: 10 | 19 | RUSTUP_MAX_RETRIES: 10 |
20 | CARGO_NET_RETRY: 10 | 20 | CARGO_NET_RETRY: 10 |
21 | PROFILE: release | ||
22 | steps: | 21 | steps: |
23 | 22 | ||
24 | - name: Checkout repository | 23 | - name: Checkout repository |
@@ -69,18 +68,18 @@ jobs: | |||
69 | 68 | ||
70 | - name: Prepare cache 2 | 69 | - name: Prepare cache 2 |
71 | if: matrix.os == 'windows-latest' | 70 | if: matrix.os == 'windows-latest' |
72 | run: Remove-Item ./target/${{ env.PROFILE }}/xtask.exe | 71 | run: Remove-Item ./target/release/xtask.exe |
73 | 72 | ||
74 | - name: Creat distribution dir | 73 | - name: Creat distribution dir |
75 | run: mkdir ./dist | 74 | run: mkdir ./dist |
76 | 75 | ||
77 | - name: Copy binaries (non-win) | 76 | - name: Copy binaries (non-win) |
78 | if: matrix.os != 'windows-latest' | 77 | if: matrix.os != 'windows-latest' |
79 | run: cp ./target/${{ env.PROFILE }}/ra_lsp_server ./dist | 78 | run: cp ./target/release/ra_lsp_server ./dist |
80 | 79 | ||
81 | - name: Copy binaries (win) | 80 | - name: Copy binaries (win) |
82 | if: matrix.os == 'windows-latest' | 81 | if: matrix.os == 'windows-latest' |
83 | run: copy ./target/${{ env.PROFILE }}/ra_lsp_server.* ./dist | 82 | run: copy ./target/release/ra_lsp_server.* ./dist |
84 | 83 | ||
85 | - name: Upload artifacts | 84 | - name: Upload artifacts |
86 | uses: actions/upload-artifact@v1 | 85 | uses: actions/upload-artifact@v1 |