aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e1a4800db..793fb428a 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -20,6 +20,7 @@ jobs:
20 RUN_SLOW_TESTS: 1 20 RUN_SLOW_TESTS: 1
21 RUSTUP_MAX_RETRIES: 10 21 RUSTUP_MAX_RETRIES: 10
22 CARGO_NET_RETRY: 10 22 CARGO_NET_RETRY: 10
23 PROFILE: debug
23 steps: 24 steps:
24 25
25 - name: Checkout repository 26 - name: Checkout repository
@@ -75,18 +76,18 @@ jobs:
75 76
76 - name: Prepare cache 2 77 - name: Prepare cache 2
77 if: matrix.os == 'windows-latest' 78 if: matrix.os == 'windows-latest'
78 run: Remove-Item ./target/debug/xtask.exe 79 run: Remove-Item ./target/${{ env.PROFILE }}/xtask.exe
79 80
80 - name: Creat distribution dir 81 - name: Creat distribution dir
81 run: mkdir ./dist 82 run: mkdir ./dist
82 83
83 - name: Copy binaries (non-win) 84 - name: Copy binaries (non-win)
84 if: matrix.os != 'windows-latest' 85 if: matrix.os != 'windows-latest'
85 run: cp ./target/debug/ra-lsp-server.* ./dist 86 run: cp ./target/${{ env.PROFILE }}/ra_lsp_server.* ./dist
86 87
87 - name: Copy binaries (win) 88 - name: Copy binaries (win)
88 if: matrix.os == 'windows-latest' 89 if: matrix.os == 'windows-latest'
89 run: copy ./target/debug/ra-lsp-server.* ./dist 90 run: copy ./target/${{ env.PROFILE }}/ra_lsp_server.* ./dist
90 91
91 - name: Upload artifacts 92 - name: Upload artifacts
92 uses: actions/upload-artifact@v1 93 uses: actions/upload-artifact@v1