提交 25537d2c 编写于 作者: kl222's avatar kl222

CI: modify build.yml

CI: vcpkg update to d765306b074717dea8dc1c4723e1b025acb61c2d

Modify README
上级 abd3c5f8
......@@ -36,7 +36,7 @@ jobs:
TOOSL_DIR: ${{github.workspace}}/.cache/tools
INSTALL_DIR: ${{github.workspace}}/.cache/install_${{matrix.BUILD_TYPE}}
LunarCalendar_VERSION: v0.2.7
VCPKGGITCOMMITID: 5ac89392d779288ec8073ebba69cf12d3537f6d7
VCPKGGITCOMMITID: d765306b074717dea8dc1c4723e1b025acb61c2d
ANDROID_PLATFORM: android-23
ANDROID_NATIVE_API_LEVEL: 23
qt_modules: 'qtimageformats qtmultimedia qtscxml'
......
# 作者:康林 <kl222@126.com>
name: build
env:
......@@ -25,9 +27,9 @@ jobs:
uses: ./.github/workflows/android.yml
deploy:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
needs: [ubuntu, msvc, mingw, macos, android]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
......@@ -64,23 +66,23 @@ jobs:
name: ${{ needs.android.outputs.name }}
path: ${{ env.artifact_path }}
- name: Make note file
- name: Make Note.md file
run: |
cd ${{ env.artifact_path }}
echo "[:cn: 修改日志](https://github.com/KangLin/LunarCalendar/blob/${{env.LunarCalendar_VERSION}}/ChangeLog.md)" > ${{github.workspace}}/Release.md
echo "" >> ${{github.workspace}}/Release.md
echo "文件签名:" >> ${{github.workspace}}/Release.md
echo "[:cn: 修改日志](https://github.com/KangLin/LunarCalendar/blob/${{env.LunarCalendar_VERSION}}/ChangeLog.md)" > ${{github.workspace}}/Note.md
echo "" >> ${{github.workspace}}/Note.md
echo "文件签名:" >> ${{github.workspace}}/Note.md
for file in *
do
echo $file
if [ -f $file ]; then
#echo $file
if [ -f $file ] && [ "${file##*.}" != "xml" ]; then
#echo "md5sum $file"
md5sum $file > $file.md5sum
cat $file.md5sum >> ${{github.workspace}}/Release.md
cat $file.md5sum >> ${{github.workspace}}/Note.md
fi
done
- name: Upload To Github Release
run: |
gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --notes-file ${{github.workspace}}/Release.md
gh release upload ${{ github.ref_name }} ${{github.workspace}}/${{ env.artifact_path }}/*
gh release upload ${{ github.ref_name }} ${{github.workspace}}/Release.md
gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --notes-file ${{github.workspace}}/Note.md
gh release upload ${{ github.ref_name }} ${{github.workspace}}/${{ env.artifact_path }}/* ${{github.workspace}}/Note.md
......@@ -34,7 +34,7 @@ jobs:
TOOSL_DIR: ${{github.workspace}}/.cache/tools
INSTALL_DIR: ${{github.workspace}}/.cache/install_macos
qt_modules: qtwebengine ${{matrix.qt_modules}}
VCPKGGITCOMMITID: 5ac89392d779288ec8073ebba69cf12d3537f6d7
VCPKGGITCOMMITID: d765306b074717dea8dc1c4723e1b025acb61c2d
LunarCalendar_VERSION: v0.2.7
artifact_name: build_macos
......
......@@ -44,7 +44,7 @@ jobs:
VCPKG_PLATFORM_TOOLSET: ${{matrix.VCPKG_PLATFORM_TOOLSET}}
CMAKE_GENERATOR_PLATFORM: ${{matrix.CMAKE_GENERATOR_PLATFORM}}
LunarCalendar_VERSION: v0.2.7
VCPKGGITCOMMITID: 5ac89392d779288ec8073ebba69cf12d3537f6d7
VCPKGGITCOMMITID: d765306b074717dea8dc1c4723e1b025acb61c2d
qt_modules: qtwebengine ${{matrix.qt_modules}}
artifact_name: build_msvc
......
......@@ -26,8 +26,8 @@ Author: KangLin (kl222@126.com)
[![GitHub forks](https://img.shields.io/github/forks/KangLin/LunarCalendar)](https://github.com/KangLin/LunarCalendar/forks)
[![GitHub issues](https://img.shields.io/github/issues/KangLin/LunarCalendar)](https://github.com/KangLin/LunarCalendar/issues)
[![Current release](https://img.shields.io/github/release/KangLin/LunarCalendar)](https://github.com/KangLin/LunarCalendar/releases)
[![All releases downloads](https://img.shields.io/github/downloads/KangLin/LunarCalendar/total)](https://github.com/KangLin/LunarCalendar/releases)
[![Download LunarCalendar](https://img.shields.io/sourceforge/dt/lunarcalendar.svg)](https://sourceforge.net/projects/lunarcalendar/files/latest/download)
[![All releases downloads](https://img.shields.io/github/downloads/KangLin/LunarCalendar/total?label=Github%20downloads)](https://github.com/KangLin/LunarCalendar/releases)
[![Download LunarCalendar](https://img.shields.io/sourceforge/dt/lunarcalendar.svg?label=Sourceforge%20downloads)](https://sourceforge.net/projects/lunarcalendar/files/latest/download)
------------------------------------------------
......@@ -58,7 +58,8 @@ The lunar calendar written by Qt. It provides:
- Example
+ A simple calendar app. Used to illustrate how to use this lunar calendar library.
+ A complete application of this library [Calendar](https://github.com/KangLin/Calendar)
- Cross-platform, support multiple operating systems
- Cross-platform, support multiple operating systems.
See: [Qt5 supported platforms](https://doc.qt.io/qt-5/supported-platforms.html), [Qt6 supported platforms](https://doc.qt.io/qt-6/supported-platforms.html).
+ [x] Windows
+ [x] Linux、Unix
+ [x] Android
......
......@@ -26,8 +26,8 @@
[![GitHub forks](https://img.shields.io/github/forks/KangLin/LunarCalendar)](https://github.com/KangLin/LunarCalendar/forks)
[![GitHub issues](https://img.shields.io/github/issues/KangLin/LunarCalendar)](https://github.com/KangLin/LunarCalendar/issues)
[![Current release](https://img.shields.io/github/release/KangLin/LunarCalendar)](https://github.com/KangLin/LunarCalendar/releases)
[![All releases downloads](https://img.shields.io/github/downloads/KangLin/LunarCalendar/total)](https://github.com/KangLin/LunarCalendar/releases)
[![Download LunarCalendar](https://img.shields.io/sourceforge/dt/lunarcalendar.svg)](https://sourceforge.net/projects/lunarcalendar/files/latest/download)
[![All releases downloads](https://img.shields.io/github/downloads/KangLin/LunarCalendar/total?label=Github%20下载量)](https://github.com/KangLin/LunarCalendar/releases)
[![Download LunarCalendar](https://img.shields.io/sourceforge/dt/lunarcalendar.svg?label=Sourceforge%20下载量)](https://sourceforge.net/projects/lunarcalendar/files/latest/download)
------------------------------------------------
......@@ -59,7 +59,8 @@ Qt 写的农历。它提供:
- 示例
+ 一个简单的日历应用程序。用于示例如何使用此农历日历库。
+ 此库的一个完整应用 [日历](https://github.com/KangLin/Calendar)
- 跨平台,支持多操作系统
- 跨平台,支持多操作系统。
详见:[Qt5 支持平台](https://doc.qt.io/qt-5/supported-platforms.html)[Qt6 支持平台](https://doc.qt.io/qt-6/supported-platforms.html)
+ [x] Windows
+ [x] Linux、Unix
+ [x] Android
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册