Skip to content

Commit 3422bf1

Browse files
committed
parameterised debug
1 parent f562a1f commit 3422bf1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
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

0 commit comments

Comments
 (0)