File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
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
24
23
steps :
25
24
26
25
- name : Checkout repository
76
75
77
76
- name : Prepare cache 2
78
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
80
type-script :
82
81
name : TypeScript
Original file line number Diff line number Diff line change 18
18
RUN_SLOW_TESTS : 1
19
19
RUSTUP_MAX_RETRIES : 10
20
20
CARGO_NET_RETRY : 10
21
- PROFILE : release
22
21
steps :
23
22
24
23
- name : Checkout repository
@@ -69,18 +68,18 @@ jobs:
69
68
70
69
- name : Prepare cache 2
71
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
73
- name : Creat distribution dir
75
74
run : mkdir ./dist
76
75
77
76
- name : Copy binaries (non-win)
78
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
80
- name : Copy binaries (win)
82
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
84
- name : Upload artifacts
86
85
uses : actions/upload-artifact@v1
You can’t perform that action at this time.
0 commit comments