mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +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
4
.github/workflows/macos-homebrew-xapian.yml
vendored
4
.github/workflows/macos-homebrew-xapian.yml
vendored
|
@ -136,6 +136,9 @@ jobs:
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
|
|
||||||
# tag 上传Release
|
# tag 上传Release
|
||||||
|
- name: "Build Changelog"
|
||||||
|
id: build_changelog
|
||||||
|
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||||
- name: uploadRelease
|
- name: uploadRelease
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
|
@ -174,3 +177,4 @@ jobs:
|
||||||
|
|
||||||
CHANGES:
|
CHANGES:
|
||||||
${{ steps.changelog.outputs.changelog }}
|
${{ steps.changelog.outputs.changelog }}
|
||||||
|
${{steps.build_changelog.outputs.changelog}}
|
||||||
|
|
4
.github/workflows/ubuntu-6.2-xapian.yml
vendored
4
.github/workflows/ubuntu-6.2-xapian.yml
vendored
|
@ -121,6 +121,9 @@ jobs:
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
echo "::set-output name=appname::$(ls *.AppImage*)"
|
echo "::set-output name=appname::$(ls *.AppImage*)"
|
||||||
|
|
||||||
|
- name: "Build Changelog"
|
||||||
|
id: build_changelog
|
||||||
|
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||||
- 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
|
||||||
|
@ -160,3 +163,4 @@ jobs:
|
||||||
|
|
||||||
CHANGES:
|
CHANGES:
|
||||||
${{ steps.changelog.outputs.changelog }}
|
${{ steps.changelog.outputs.changelog }}
|
||||||
|
${{steps.build_changelog.outputs.changelog}}
|
||||||
|
|
6
.github/workflows/ubuntu.yml
vendored
6
.github/workflows/ubuntu.yml
vendored
|
@ -110,13 +110,16 @@ jobs:
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
echo "::set-output name=appname::$(ls *.AppImage*)"
|
echo "::set-output name=appname::$(ls *.AppImage*)"
|
||||||
|
|
||||||
|
- name: "Build Changelog"
|
||||||
|
id: build_changelog
|
||||||
|
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||||
- 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
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ${{ steps.vars.outputs.appname }}
|
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 }}
|
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 }}
|
release_name: GoldenDict-ng-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||||
|
@ -149,3 +152,4 @@ jobs:
|
||||||
|
|
||||||
CHANGES:
|
CHANGES:
|
||||||
${{ steps.changelog.outputs.changelog }}
|
${{ steps.changelog.outputs.changelog }}
|
||||||
|
${{steps.build_changelog.outputs.changelog}}
|
||||||
|
|
7
.github/workflows/windows-6.x-xapian.yml
vendored
7
.github/workflows/windows-6.x-xapian.yml
vendored
|
@ -124,14 +124,16 @@ jobs:
|
||||||
& .github\scripts\windows-publish.ps1 ${env:archiveName} ${env:targetName}
|
& .github\scripts\windows-publish.ps1 ${env:archiveName} ${env:targetName}
|
||||||
$name = ${env:archiveName}
|
$name = ${env:archiveName}
|
||||||
echo "::set-output name=packageName::$name"
|
echo "::set-output name=packageName::$name"
|
||||||
|
- name: "Build Changelog"
|
||||||
|
id: build_changelog
|
||||||
|
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||||
- 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
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ${{ steps.package.outputs.packageName }}.zip
|
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 }}
|
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 }}
|
release_name: GoldenDict-ng-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }}
|
||||||
|
@ -161,6 +163,7 @@ jobs:
|
||||||
|
|
||||||
CHANGES:
|
CHANGES:
|
||||||
${{ steps.changelog.outputs.changelog }}
|
${{ steps.changelog.outputs.changelog }}
|
||||||
|
${{steps.build_changelog.outputs.changelog}}
|
||||||
|
|
||||||
- name: upload goldendict.exe only
|
- name: upload goldendict.exe only
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
|
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -114,6 +114,9 @@ jobs:
|
||||||
$name = ${env:archiveName}
|
$name = ${env:archiveName}
|
||||||
echo "::set-output name=packageName::$name"
|
echo "::set-output name=packageName::$name"
|
||||||
|
|
||||||
|
- name: "Build Changelog"
|
||||||
|
id: build_changelog
|
||||||
|
uses: mikepenz/release-changelog-builder-action@{latest-release}
|
||||||
- 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
|
||||||
|
@ -152,6 +155,7 @@ jobs:
|
||||||
|
|
||||||
CHANGES:
|
CHANGES:
|
||||||
${{ steps.changelog.outputs.changelog }}
|
${{ steps.changelog.outputs.changelog }}
|
||||||
|
${{steps.build_changelog.outputs.changelog}}
|
||||||
- name: upload goldendict.exe only
|
- name: upload goldendict.exe only
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue