mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
action: output new syntax
This commit is contained in:
parent
2d4b6b3918
commit
fce9bec4f2
3
.github/workflows/ubuntu-6.2.yml
vendored
3
.github/workflows/ubuntu-6.2.yml
vendored
|
@ -123,7 +123,8 @@ jobs:
|
||||||
echo "release_time=$(date +'%H%M%S')" >> $GITHUB_OUTPUT
|
echo "release_time=$(date +'%H%M%S')" >> $GITHUB_OUTPUT
|
||||||
echo "release_time_clock=$(date +'%H:%M:%S')" >> $GITHUB_OUTPUT
|
echo "release_time_clock=$(date +'%H:%M:%S')" >> $GITHUB_OUTPUT
|
||||||
echo "release_hm=$(date +'%y%m%d')" >> $GITHUB_OUTPUT
|
echo "release_hm=$(date +'%y%m%d')" >> $GITHUB_OUTPUT
|
||||||
echo "appname=$(ls *.AppImage*)" >> $GITHUB_OUTPUT
|
appname=$(ls *.AppImage* -1|head -n1)
|
||||||
|
echo "appname=$appname" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: "Build Changelog"
|
- name: "Build Changelog"
|
||||||
id: build_changelog
|
id: build_changelog
|
||||||
|
|
3
.github/workflows/ubuntu.yml
vendored
3
.github/workflows/ubuntu.yml
vendored
|
@ -111,7 +111,8 @@ jobs:
|
||||||
echo "release_time=$(date +'%H%M%S')" >> $GITHUB_OUTPUT
|
echo "release_time=$(date +'%H%M%S')" >> $GITHUB_OUTPUT
|
||||||
echo "release_time_clock=$(date +'%H:%M:%S')" >> $GITHUB_OUTPUT
|
echo "release_time_clock=$(date +'%H:%M:%S')" >> $GITHUB_OUTPUT
|
||||||
echo "release_hm=$(date +'%y%m%d')" >> $GITHUB_OUTPUT
|
echo "release_hm=$(date +'%y%m%d')" >> $GITHUB_OUTPUT
|
||||||
echo "appname=$(ls *.AppImage*)" >> $GITHUB_OUTPUT
|
appname=$(ls *.AppImage* -1|head -n1)
|
||||||
|
echo "appname=$appname" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: "Build Changelog"
|
- name: "Build Changelog"
|
||||||
id: build_changelog
|
id: build_changelog
|
||||||
|
|
7
.github/workflows/windows-6.x.yml
vendored
7
.github/workflows/windows-6.x.yml
vendored
|
@ -170,10 +170,11 @@ jobs:
|
||||||
|
|
||||||
- name: package
|
- name: package
|
||||||
id: package
|
id: package
|
||||||
env:
|
shell: bash
|
||||||
archiveName: GoldenDict-Windows.${{ steps.vars.outputs.sha_short }}-${{ steps.vars.outputs.release_time }}
|
|
||||||
run: |
|
run: |
|
||||||
echo "packageName=${env:archiveName}" >> $GITHUB_OUTPUT
|
packageName=GoldenDict-Windows.${{ steps.vars.outputs.sha_short }}-${{ steps.vars.outputs.release_time }}
|
||||||
|
echo $packageName
|
||||||
|
echo "packageName=$packageName" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: upload goldendict.exe only
|
- name: upload goldendict.exe only
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
|
15
.github/workflows/windows.yml
vendored
15
.github/workflows/windows.yml
vendored
|
@ -105,16 +105,21 @@ jobs:
|
||||||
echo QTDIR=%Qt5_DIR% >> %GITHUB_ENV%
|
echo QTDIR=%Qt5_DIR% >> %GITHUB_ENV%
|
||||||
|
|
||||||
# 打包
|
# 打包
|
||||||
- name: package
|
- name: windows ps package
|
||||||
id: package
|
id: package-windows
|
||||||
env:
|
env:
|
||||||
archiveName: GoldenDict-Windows.${{ steps.vars.outputs.sha_short }}-${{ steps.vars.outputs.release_time }}
|
archiveName: GoldenDict-Windows.${{ steps.vars.outputs.sha_short }}-${{ steps.vars.outputs.release_time }}
|
||||||
msvcArch: ${{ matrix.msvc_arch }}
|
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
& .github\scripts\windows-publish.ps1 ${env:archiveName} ${env:targetName}
|
& .github\scripts\windows-publish.ps1 ${env:archiveName} ${env:targetName}
|
||||||
$name = ${env:archiveName}
|
|
||||||
echo "packageName=$name" >> $GITHUB_OUTPUT
|
- name: package
|
||||||
|
id: package
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
packageName=GoldenDict-Windows.${{ steps.vars.outputs.sha_short }}-${{ steps.vars.outputs.release_time }}
|
||||||
|
echo $packageName
|
||||||
|
echo "packageName=$packageName" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: "Build Changelog"
|
- name: "Build Changelog"
|
||||||
id: build_changelog
|
id: build_changelog
|
||||||
|
|
Loading…
Reference in a new issue