mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
opt: seperate the pdb file with application bundle
This commit is contained in:
parent
136d1cb03b
commit
17d7fa663f
6
.github/scripts/windows-publish.ps1
vendored
6
.github/scripts/windows-publish.ps1
vendored
|
@ -32,9 +32,9 @@ function Main() {
|
|||
Copy-Item release\$targetName $archiveName\
|
||||
Write-Host "copy item finished..."
|
||||
|
||||
#拷贝pdb
|
||||
Copy-Item release\*.pdb $archiveName\
|
||||
Write-Host "copy pdb finished..."
|
||||
# #拷贝pdb
|
||||
# Copy-Item release\*.pdb $archiveName\
|
||||
# Write-Host "copy pdb finished..."
|
||||
# 拷贝依赖
|
||||
windeployqt --qmldir . --plugindir $archiveName\plugins --compiler-runtime $archiveName\$targetName
|
||||
# 删除不必要的文件
|
||||
|
|
15
.github/workflows/windows-6.x-xapian.yml
vendored
15
.github/workflows/windows-6.x-xapian.yml
vendored
|
@ -125,10 +125,6 @@ jobs:
|
|||
$name = ${env:archiveName}
|
||||
echo "::set-output name=packageName::$name"
|
||||
|
||||
# - uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: ${{ steps.package.outputs.packageName }}
|
||||
# path: ${{ steps.package.outputs.packageName }}.zip
|
||||
- name: uploadRelease
|
||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
@ -177,6 +173,17 @@ jobs:
|
|||
release_name: GoldenDict-ng-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
prerelease: ${{env.prerelease}}
|
||||
|
||||
- name: upload pdb
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: release/GoldenDict.pdb
|
||||
asset_name: ${{ matrix.qt_ver }}.${{ matrix.os }}-xapian-GoldenDict.pdb
|
||||
tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
overwrite: true
|
||||
release_name: GoldenDict-ng-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
prerelease: ${{env.prerelease}}
|
||||
|
||||
- name: copy nsis
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue