Skip to content

Commit

Permalink
Build and include nemo-language-server in release artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarx committed Jan 27, 2025
1 parent 4ebf2ec commit 49cd7d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
command: "build"
toolchain: "nightly"
target: ${{ matrix.platform.target }}
args: "--locked --release --bin=nmo"
args: "--locked --release --bin=nmo --bin=nemo-language-server"
strip: true
- name: Build archive
shell: bash
Expand All @@ -52,11 +52,13 @@ jobs:
cp {README.md,LICENSE-APACHE,LICENSE-MIT} "$name"
if [ "${{ matrix.platform.runs-on }}" = "windows-latest" ]; then
cp "target/${{ matrix.platform.target }}/release/nmo.exe" "$name/"
cp "target/${{ matrix.platform.target }}/release/nemo-language-server.exe" "$name/"
asset=$name.zip
7z a "$asset" "$name"
echo ASSET=$asset >> $GITHUB_ENV
else
cp "target/${{ matrix.platform.target }}/release/nmo" "$name/"
cp "target/${{ matrix.platform.target }}/release/nemo-language-server "$name/"
asset=$name.tar.gz
tar czf "$asset" "$name"
echo ASSET=$asset >> $GITHUB_ENV
Expand Down

0 comments on commit 49cd7d5

Please sign in to comment.