Skip to content

Commit

Permalink
- CI: don't add the nimlangserver (without the .exe extension) binary…
Browse files Browse the repository at this point in the history
… to the archive when building for Windows (nim-lang#130)
  • Loading branch information
nickysn authored Jan 25, 2024
1 parent 4677231 commit fdcd323
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,12 @@ jobs:
- name: Compress the Nim Language Server binaries
run: |
tar -czvf nimlangserver-${{ matrix.target.name }}-${{ matrix.target.cpu }}.tar.gz `ls nimlangserver{,.exe} 2>/dev/null || true`
if [ ${{ matrix.target.name }} = 'windows' ]; then
EXEEXT=.exe
else
EXEEXT=
fi
tar -czvf nimlangserver-${{ matrix.target.name }}-${{ matrix.target.cpu }}.tar.gz nimlangserver${EXEEXT}
- name: Upload the Nim Language Server Binaries
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit fdcd323

Please sign in to comment.