Use LZMA2

This commit is contained in:
Younan Zhang 2023-10-07 14:08:43 +08:00
parent 519221ada4
commit 486d4646ec
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ If you can, provide a minimal chunk of code that shows the problem (either inlin
Please attach the clangd stderr log if you can. (Usually available from the editor) Please attach the clangd stderr log if you can. (Usually available from the editor)
If possible, run with `--log=verbose` - note that the logs will include the contents of open files! If possible, run with `--log=verbose` - note that the logs will include the contents of open files!
If this is a crash, try to put `llvm-symbolizer` on your PATH per the troubleshooting instructions. If this is a crash, try to put `llvm-symbolizer` on your PATH per the troubleshooting instructions.
(If you're using Windows, place the associated PDB file(debug symbols) in the same directory as (If you're using Windows, place the associated PDB file (debug symbols) in the same directory as
clangd.exe and rerun again. For official releases, download symbols from the clangd.exe and rerun again. For official releases, download symbols from the
[release page](https://github.com/clangd/clangd/releases).) [release page](https://github.com/clangd/clangd/releases).)

View File

@ -305,7 +305,7 @@ jobs:
- name: Archive clangd PDB symbols - name: Archive clangd PDB symbols
if: matrix.config.name == 'windows' if: matrix.config.name == 'windows'
run: > run: >
7z a clangd-pdb.zip 7z a clangd-pdb.7z -t7z -m0=LZMA2
${{ env.CLANGD_DIR }}/LICENSE.TXT ${{ env.CLANGD_DIR }}/LICENSE.TXT
${{ env.CLANGD_DIR }}/bin/clangd.pdb ${{ env.CLANGD_DIR }}/bin/clangd.pdb
- name: Archive indexing-tools - name: Archive indexing-tools
@ -332,8 +332,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with: with:
upload_url: ${{ env.UPLOAD_URL }} upload_url: ${{ env.UPLOAD_URL }}
asset_name: clangd-${{ matrix.config.name }}-${{ env.TAG_NAME }}-debug-symbol.zip asset_name: clangd-${{ matrix.config.name }}-${{ env.TAG_NAME }}-debug-symbols.7z
asset_path: clangd-pdb.zip asset_path: clangd-pdb.7z
asset_content_type: application/zip asset_content_type: application/zip
- name: Upload indexing-tools asset - name: Upload indexing-tools asset
uses: actions/upload-release-asset@v1.0.1 uses: actions/upload-release-asset@v1.0.1