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 2020 RUN_SLOW_TESTS : 1
2121 RUSTUP_MAX_RETRIES : 10
2222 CARGO_NET_RETRY : 10
23- PROFILE : debug
2423 steps :
2524
2625 - name : Checkout repository
7675
7776 - name : Prepare cache 2
7877 if : matrix.os == 'windows-latest'
79- run : Remove-Item ./target/${{ env.PROFILE }} /xtask.exe
78+ run : Remove-Item ./target/debug /xtask.exe
8079
8180 type-script :
8281 name : TypeScript
Original file line number Diff line number Diff line change 1818 RUN_SLOW_TESTS : 1
1919 RUSTUP_MAX_RETRIES : 10
2020 CARGO_NET_RETRY : 10
21- PROFILE : release
2221 steps :
2322
2423 - name : Checkout repository
@@ -69,18 +68,18 @@ jobs:
6968
7069 - name : Prepare cache 2
7170 if : matrix.os == 'windows-latest'
72- run : Remove-Item ./target/${{ env.PROFILE }} /xtask.exe
71+ run : Remove-Item ./target/release /xtask.exe
7372
7473 - name : Creat distribution dir
7574 run : mkdir ./dist
7675
7776 - name : Copy binaries (non-win)
7877 if : matrix.os != 'windows-latest'
79- run : cp ./target/${{ env.PROFILE }} /ra_lsp_server ./dist
78+ run : cp ./target/release /ra_lsp_server ./dist
8079
8180 - name : Copy binaries (win)
8281 if : matrix.os == 'windows-latest'
83- run : copy ./target/${{ env.PROFILE }} /ra_lsp_server.* ./dist
82+ run : copy ./target/release /ra_lsp_server.* ./dist
8483
8584 - name : Upload artifacts
8685 uses : actions/upload-artifact@v1
You can’t perform that action at this time.
0 commit comments