diff options
author | Aleksey Kladov <[email protected]> | 2020-02-18 12:30:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-18 12:30:40 +0000 |
commit | d05480a178b132e62b8aff8986a8cb3dd3a89c0b (patch) | |
tree | 0fc36373073a66c2bbd6c7cfae6cb734527d847f /.github/workflows/release.yaml | |
parent | 2768476e491d985317b08230824f96e6718f338a (diff) | |
parent | 865759925be6b72f7ef39124ed0e4c86c0412a69 (diff) |
Merge pull request #3216 from matklad/rename-to-rust-analyzer
rename binary to rust-analyzer
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r-- | .github/workflows/release.yaml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d6d5dba95..a697c0071 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -44,29 +44,29 @@ jobs: | |||
44 | CC: clang | 44 | CC: clang |
45 | with: | 45 | with: |
46 | command: build | 46 | command: build |
47 | args: --package ra_lsp_server --bin ra_lsp_server --release --target x86_64-unknown-linux-musl | 47 | args: --package rust-analyzer --bin rust-analyzer --release --target x86_64-unknown-linux-musl |
48 | 48 | ||
49 | - name: Build | 49 | - name: Build |
50 | if: matrix.os != 'ubuntu-latest' | 50 | if: matrix.os != 'ubuntu-latest' |
51 | uses: actions-rs/cargo@v1 | 51 | uses: actions-rs/cargo@v1 |
52 | with: | 52 | with: |
53 | command: build | 53 | command: build |
54 | args: --package ra_lsp_server --bin ra_lsp_server --release | 54 | args: --package rust-analyzer --bin rust-analyzer --release |
55 | 55 | ||
56 | - name: Create distribution dir | 56 | - name: Create distribution dir |
57 | run: mkdir ./dist | 57 | run: mkdir ./dist |
58 | 58 | ||
59 | - name: Copy binary | 59 | - name: Copy binary |
60 | if: matrix.os == 'ubuntu-latest' | 60 | if: matrix.os == 'ubuntu-latest' |
61 | run: cp ./target/x86_64-unknown-linux-musl/release/ra_lsp_server ./dist/ra_lsp_server-linux && strip ./dist/ra_lsp_server-linux | 61 | run: cp ./target/x86_64-unknown-linux-musl/release/rust-analyzer ./dist/rust-analyzer-linux && strip ./dist/rust-analyzer-linux |
62 | 62 | ||
63 | - name: Copy binary | 63 | - name: Copy binary |
64 | if: matrix.os == 'macos-latest' | 64 | if: matrix.os == 'macos-latest' |
65 | run: cp ./target/release/ra_lsp_server ./dist/ra_lsp_server-mac | 65 | run: cp ./target/release/rust-analyzer ./dist/rust-analyzer-mac |
66 | 66 | ||
67 | - name: Copy binary | 67 | - name: Copy binary |
68 | if: matrix.os == 'windows-latest' | 68 | if: matrix.os == 'windows-latest' |
69 | run: copy ./target/release/ra_lsp_server.exe ./dist/ra_lsp_server-windows.exe | 69 | run: copy ./target/release/rust-analyzer.exe ./dist/rust-analyzer-windows.exe |
70 | 70 | ||
71 | - name: Upload artifacts | 71 | - name: Upload artifacts |
72 | uses: actions/upload-artifact@v1 | 72 | uses: actions/upload-artifact@v1 |
@@ -153,8 +153,8 @@ jobs: | |||
153 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 153 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
154 | with: | 154 | with: |
155 | upload_url: ${{ steps.create_release.outputs.upload_url }} | 155 | upload_url: ${{ steps.create_release.outputs.upload_url }} |
156 | asset_path: ./dist/ra_lsp_server-linux | 156 | asset_path: ./dist/rust-analyzer-linux |
157 | asset_name: ra_lsp_server-linux | 157 | asset_name: rust-analyzer-linux |
158 | asset_content_type: application/octet-stream | 158 | asset_content_type: application/octet-stream |
159 | 159 | ||
160 | - uses: actions/[email protected] | 160 | - uses: actions/[email protected] |
@@ -162,8 +162,8 @@ jobs: | |||
162 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 162 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
163 | with: | 163 | with: |
164 | upload_url: ${{ steps.create_release.outputs.upload_url }} | 164 | upload_url: ${{ steps.create_release.outputs.upload_url }} |
165 | asset_path: ./dist/ra_lsp_server-mac | 165 | asset_path: ./dist/rust-analyzer-mac |
166 | asset_name: ra_lsp_server-mac | 166 | asset_name: rust-analyzer-mac |
167 | asset_content_type: application/octet-stream | 167 | asset_content_type: application/octet-stream |
168 | 168 | ||
169 | - uses: actions/[email protected] | 169 | - uses: actions/[email protected] |
@@ -171,8 +171,8 @@ jobs: | |||
171 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 171 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
172 | with: | 172 | with: |
173 | upload_url: ${{ steps.create_release.outputs.upload_url }} | 173 | upload_url: ${{ steps.create_release.outputs.upload_url }} |
174 | asset_path: ./dist/ra_lsp_server-windows.exe | 174 | asset_path: ./dist/rust-analyzer-windows.exe |
175 | asset_name: ra_lsp_server-windows.exe | 175 | asset_name: rust-analyzer-windows.exe |
176 | asset_content_type: application/octet-stream | 176 | asset_content_type: application/octet-stream |
177 | 177 | ||
178 | - uses: actions/[email protected] | 178 | - uses: actions/[email protected] |