mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
action: ubuntu git log changes.
This commit is contained in:
parent
332248a959
commit
8a861ae034
8
.github/workflows/ubuntu.yml
vendored
8
.github/workflows/ubuntu.yml
vendored
|
@ -74,7 +74,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
qmake CONFIG+=release PREFIX=/usr CONFIG+=zim_support CONFIG+=chinese_conversion_support
|
qmake CONFIG+=release PREFIX=/usr CONFIG+=zim_support CONFIG+=chinese_conversion_support
|
||||||
make INSTALL_ROOT=appdir -j`nproc` install; find appdir/
|
make INSTALL_ROOT=appdir -j`nproc` install; find appdir/
|
||||||
ls -al
|
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
run: |
|
run: |
|
||||||
wget -c -nv "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage"
|
wget -c -nv "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage"
|
||||||
|
@ -82,10 +81,7 @@ jobs:
|
||||||
wget -c -nv "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
|
wget -c -nv "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
|
||||||
chmod a+x linuxdeploy-x86_64.AppImage
|
chmod a+x linuxdeploy-x86_64.AppImage
|
||||||
./linuxdeploy-x86_64.AppImage --appdir appdir --output appimage --plugin qt -i redist/icons/goldendict.png -d redist/org.goldendict.GoldenDict.desktop
|
./linuxdeploy-x86_64.AppImage --appdir appdir --output appimage --plugin qt -i redist/icons/goldendict.png -d redist/org.goldendict.GoldenDict.desktop
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: AppImage
|
|
||||||
path: './*.AppImage*'
|
|
||||||
- name: Set outputs
|
- name: Set outputs
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
|
@ -98,7 +94,7 @@ jobs:
|
||||||
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
echo "previousTag : $previousTag"
|
echo "previousTag : $previousTag"
|
||||||
|
|
||||||
commitSummary="$(git shortlog $previousTag..HEAD)"
|
commitSummary="$(git shortlog $(git tag --sort=-creatordate | sed -n 2p)..HEAD)"
|
||||||
echo "::set-output name=COMMIT_SUMMARY::\"$commitSummary\""
|
echo "::set-output name=COMMIT_SUMMARY::\"$commitSummary\""
|
||||||
- name: uploadRelease
|
- name: uploadRelease
|
||||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
|
|
Loading…
Reference in a new issue