mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +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\
|
Copy-Item release\$targetName $archiveName\
|
||||||
Write-Host "copy item finished..."
|
Write-Host "copy item finished..."
|
||||||
|
|
||||||
#拷贝pdb
|
# #拷贝pdb
|
||||||
Copy-Item release\*.pdb $archiveName\
|
# Copy-Item release\*.pdb $archiveName\
|
||||||
Write-Host "copy pdb finished..."
|
# Write-Host "copy pdb finished..."
|
||||||
# 拷贝依赖
|
# 拷贝依赖
|
||||||
windeployqt --qmldir . --plugindir $archiveName\plugins --compiler-runtime $archiveName\$targetName
|
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}
|
$name = ${env:archiveName}
|
||||||
echo "::set-output name=packageName::$name"
|
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
|
- name: uploadRelease
|
||||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
uses: svenstaro/upload-release-action@v2
|
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 }}
|
release_name: GoldenDict-ng-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||||
prerelease: ${{env.prerelease}}
|
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
|
- name: copy nsis
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue