aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yaml3
-rw-r--r--.github/workflows/release.yaml7
2 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 3a2bdb4a6..9c81dd97e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -20,7 +20,6 @@ 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
24 steps: 23 steps:
25 24
26 - name: Checkout repository 25 - name: Checkout repository
@@ -76,7 +75,7 @@ jobs:
76 75
77 - name: Prepare cache 2 76 - name: Prepare cache 2
78 if: matrix.os == 'windows-latest' 77 if: matrix.os == 'windows-latest'
79 run: Remove-Item ./target/${{ env.PROFILE }}/xtask.exe 78 run: Remove-Item ./target/debug/xtask.exe
80 79
81 type-script: 80 type-script:
82 name: TypeScript 81 name: TypeScript
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