mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
action: remove -xapian
(#791)
* action: remove `-xapian` xapian has became the default feature and made the -xapian was not needed any more. * action: add a release changelog action to generate the changelog
This commit is contained in:
parent
7e2ce7f87e
commit
2b6b23c4e1
8
.github/workflows/macos-homebrew-xapian.yml
vendored
8
.github/workflows/macos-homebrew-xapian.yml
vendored
|
@ -134,8 +134,11 @@ jobs:
|
|||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||
|
||||
|
||||
# tag 上传Release
|
||||
- name: "Build Changelog"
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||
- name: uploadRelease
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
|
@ -143,7 +146,7 @@ jobs:
|
|||
file: ${{ env.targetName }}.dmg
|
||||
asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_homebrew_${{steps.vars.outputs.release_date}}.dmg
|
||||
tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
overwrite: true
|
||||
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}}
|
||||
body: |
|
||||
|
@ -174,3 +177,4 @@ jobs:
|
|||
|
||||
CHANGES:
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
${{steps.build_changelog.outputs.changelog}}
|
||||
|
|
10
.github/workflows/ubuntu-6.2-xapian.yml
vendored
10
.github/workflows/ubuntu-6.2-xapian.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
|||
version: 23.06.02
|
||||
version-suffix: alpha
|
||||
prerelease: true
|
||||
steps:
|
||||
steps:
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
|
@ -120,7 +120,10 @@ jobs:
|
|||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||
echo "::set-output name=appname::$(ls *.AppImage*)"
|
||||
|
||||
|
||||
- name: "Build Changelog"
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||
- name: uploadRelease
|
||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
@ -129,7 +132,7 @@ jobs:
|
|||
file: ${{ steps.vars.outputs.appname }}
|
||||
asset_name: ${{ matrix.qt_ver }}-${{ steps.vars.outputs.appname }}
|
||||
tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
overwrite: true
|
||||
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}}
|
||||
body: |
|
||||
|
@ -160,3 +163,4 @@ jobs:
|
|||
|
||||
CHANGES:
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
${{steps.build_changelog.outputs.changelog}}
|
||||
|
|
10
.github/workflows/ubuntu.yml
vendored
10
.github/workflows/ubuntu.yml
vendored
|
@ -109,16 +109,19 @@ jobs:
|
|||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||
echo "::set-output name=appname::$(ls *.AppImage*)"
|
||||
|
||||
|
||||
- name: "Build Changelog"
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||
- name: uploadRelease
|
||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ${{ steps.vars.outputs.appname }}
|
||||
asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.AppImage
|
||||
asset_name: ${{ matrix.qt_ver }}-${{ steps.vars.outputs.appname }}
|
||||
tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
overwrite: true
|
||||
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}}
|
||||
body: |
|
||||
|
@ -149,3 +152,4 @@ jobs:
|
|||
|
||||
CHANGES:
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
${{steps.build_changelog.outputs.changelog}}
|
||||
|
|
11
.github/workflows/windows-6.x-xapian.yml
vendored
11
.github/workflows/windows-6.x-xapian.yml
vendored
|
@ -115,7 +115,7 @@ jobs:
|
|||
|
||||
# 打包
|
||||
- name: package
|
||||
id: package
|
||||
id: package
|
||||
env:
|
||||
archiveName: GoldenDict-Windows.${{ steps.vars.outputs.sha_short }}-${{ steps.vars.outputs.release_time }}
|
||||
msvcArch: ${{ matrix.msvc_arch }}
|
||||
|
@ -124,16 +124,18 @@ jobs:
|
|||
& .github\scripts\windows-publish.ps1 ${env:archiveName} ${env:targetName}
|
||||
$name = ${env:archiveName}
|
||||
echo "::set-output name=packageName::$name"
|
||||
|
||||
- name: "Build Changelog"
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||
- name: uploadRelease
|
||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ${{ steps.package.outputs.packageName }}.zip
|
||||
asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}-xapian.zip
|
||||
asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.zip
|
||||
tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
overwrite: true
|
||||
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}}
|
||||
body: |
|
||||
|
@ -161,6 +163,7 @@ jobs:
|
|||
|
||||
CHANGES:
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
${{steps.build_changelog.outputs.changelog}}
|
||||
|
||||
- name: upload goldendict.exe only
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
|
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
|
@ -104,7 +104,7 @@ jobs:
|
|||
|
||||
# 打包
|
||||
- name: package
|
||||
id: package
|
||||
id: package
|
||||
env:
|
||||
archiveName: GoldenDict-Windows.${{ steps.vars.outputs.sha_short }}-${{ steps.vars.outputs.release_time }}
|
||||
msvcArch: ${{ matrix.msvc_arch }}
|
||||
|
@ -114,6 +114,9 @@ jobs:
|
|||
$name = ${env:archiveName}
|
||||
echo "::set-output name=packageName::$name"
|
||||
|
||||
- name: "Build Changelog"
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||
- name: uploadRelease
|
||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
@ -122,7 +125,7 @@ jobs:
|
|||
file: ${{ steps.package.outputs.packageName }}.zip
|
||||
asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.zip
|
||||
tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||
overwrite: true
|
||||
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}}
|
||||
body: |
|
||||
|
@ -152,6 +155,7 @@ jobs:
|
|||
|
||||
CHANGES:
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
${{steps.build_changelog.outputs.changelog}}
|
||||
- name: upload goldendict.exe only
|
||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
|
Loading…
Reference in a new issue