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 20
20
RUN_SLOW_TESTS : 1
21
21
RUSTUP_MAX_RETRIES : 10
22
22
CARGO_NET_RETRY : 10
23
+ PROFILE : debug
23
24
steps :
24
25
25
26
- name : Checkout repository
@@ -75,18 +76,18 @@ jobs:
75
76
76
77
- name : Prepare cache 2
77
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
81
- name : Creat distribution dir
81
82
run : mkdir ./dist
82
83
83
84
- name : Copy binaries (non-win)
84
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
88
- name : Copy binaries (win)
88
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
92
- name : Upload artifacts
92
93
uses : actions/upload-artifact@v1
You can’t perform that action at this time.
0 commit comments