File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2020 RUN_SLOW_TESTS : 1
2121 RUSTUP_MAX_RETRIES : 10
2222 CARGO_NET_RETRY : 10
23+ PROFILE : debug
2324 steps :
2425
2526 - name : Checkout repository
@@ -75,18 +76,18 @@ jobs:
7576
7677 - name : Prepare cache 2
7778 if : matrix.os == 'windows-latest'
78- run : Remove-Item ./target/debug /xtask.exe
79+ run : Remove-Item ./target/${{ env.PROFILE }} /xtask.exe
7980
8081 - name : Creat distribution dir
8182 run : mkdir ./dist
8283
8384 - name : Copy binaries (non-win)
8485 if : matrix.os != 'windows-latest'
85- run : cp ./target/debug/ra-lsp-server .* ./dist
86+ run : cp ./target/${{ env.PROFILE }}/ra_lsp_server .* ./dist
8687
8788 - name : Copy binaries (win)
8889 if : matrix.os == 'windows-latest'
89- run : copy ./target/debug/ra-lsp-server .* ./dist
90+ run : copy ./target/${{ env.PROFILE }}/ra_lsp_server .* ./dist
9091
9192 - name : Upload artifacts
9293 uses : actions/upload-artifact@v1
You can’t perform that action at this time.
0 commit comments