Skip to content

Commit 7d4a622

Browse files
committed
Don't be overly generic
1 parent 8670812 commit 7d4a622

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
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
@@ -76,7 +75,7 @@ jobs:
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

.github/workflows/release.yaml

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

0 commit comments

Comments
 (0)