aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yaml
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/workflows/release.yaml
parent867081220921c1c593f11866bbdba8b845090c07 (diff)
Don't be overly generic
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml7
1 files changed, 3 insertions, 4 deletions
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