aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-01-11 20:38:15 +0000
committerAleksey Kladov <[email protected]>2020-01-11 20:38:15 +0000
commit7d4a62275d969a134a1f9c80d489f45eddd0b2ae (patch)
treecfb5769cb52b1817b096724bd800e84579f3a00f /.github
parent867081220921c1c593f11866bbdba8b845090c07 (diff)
Don't be overly generic
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml3
-rw-r--r--.github/workflows/release.yaml7
2 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 3a2bdb4a6..9c81dd97e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -20,7 +20,6 @@ jobs:
20 RUN_SLOW_TESTS: 1 20 RUN_SLOW_TESTS: 1
21 RUSTUP_MAX_RETRIES: 10 21 RUSTUP_MAX_RETRIES: 10
22 CARGO_NET_RETRY: 10 22 CARGO_NET_RETRY: 10
23 PROFILE: debug
24 steps: 23 steps:
25 24
26 - name: Checkout repository 25 - name: Checkout repository
@@ -76,7 +75,7 @@ jobs:
76 75
77 - name: Prepare cache 2 76 - name: Prepare cache 2
78 if: matrix.os == 'windows-latest' 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 type-script: 80 type-script:
82 name: TypeScript 81 name: TypeScript
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 6cb27482d..b14aa6880 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -18,7 +18,6 @@ jobs:
18 RUN_SLOW_TESTS: 1 18 RUN_SLOW_TESTS: 1
19 RUSTUP_MAX_RETRIES: 10 19 RUSTUP_MAX_RETRIES: 10
20 CARGO_NET_RETRY: 10 20 CARGO_NET_RETRY: 10
21 PROFILE: release
22 steps: 21 steps:
23 22
24 - name: Checkout repository 23 - name: Checkout repository
@@ -69,18 +68,18 @@ jobs:
69 68
70 - name: Prepare cache 2 69 - name: Prepare cache 2
71 if: matrix.os == 'windows-latest' 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 - name: Creat distribution dir 73 - name: Creat distribution dir
75 run: mkdir ./dist 74 run: mkdir ./dist
76 75
77 - name: Copy binaries (non-win) 76 - name: Copy binaries (non-win)
78 if: matrix.os != 'windows-latest' 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 - name: Copy binaries (win) 80 - name: Copy binaries (win)
82 if: matrix.os == 'windows-latest' 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 - name: Upload artifacts 84 - name: Upload artifacts
86 uses: actions/upload-artifact@v1 85 uses: actions/upload-artifact@v1