[Release] test CI 12

This commit is contained in:
Le Tan 2022-10-04 21:13:51 +08:00
parent aea0da5570
commit 3d77c29393
3 changed files with 23 additions and 19 deletions

View File

@ -153,7 +153,8 @@ jobs:
uses: ncipollo/release-action@v1.11.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ${{runner.workspace}}/build/vnote-linux-x64.AppImage
artifacts: ${{runner.workspace}}/build/vnote-linux-x64_v${{env.VNOTE_VER}}.AppImage
commit: master
tag: v${{env.VNOTE_VER}}
allowUpdates: true
draft: true

View File

@ -21,10 +21,10 @@ jobs:
strategy:
matrix:
config:
- {
name: "Build Qt 5.12",
qt: 5.12.12
}
# - {
# name: "Build Qt 5.12",
# qt: 5.12.12
# }
- {
name: "Build Qt 5.15",
qt: 5.15.2
@ -138,13 +138,14 @@ jobs:
sleep 1m
hdiutil create -srcfolder ./distrib/vnote -format UDBZ vnote-mac-x64_v${{env.VNOTE_VER}}.dmg
cp vnote-mac-x64_v${{env.VNOTE_VER}}.dmg vnote-mac-x64-qt${{matrix.config.qt}}.dmg
mv vnote-mac-x64_v${{env.VNOTE_VER}}.dmg vnote-mac-x64-qt${{matrix.config.qt}}_v${{env.VNOTE_VER}}.dmg
working-directory: ${{runner.workspace}}/build
- name: Archive Artifacts
uses: actions/upload-artifact@v2
with:
name: vnote-mac-x64-qt${{matrix.config.qt}}_v${{env.VNOTE_VER}}
path: ${{runner.workspace}}/build/vnote-mac-x64_v${{env.VNOTE_VER}}.dmg
path: ${{runner.workspace}}/build/vnote-mac-x64-qt${{matrix.config.qt}}_v${{env.VNOTE_VER}}.dmg
- name: Update Tag
if: github.ref == 'refs/heads/master'
@ -166,7 +167,8 @@ jobs:
uses: ncipollo/release-action@v1.11.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ${{runner.workspace}}/build/vnote-mac-x64-qt${{matrix.config.qt}}.dmg
artifacts: ${{runner.workspace}}/build/vnote-mac-x64-qt${{matrix.config.qt}}_v${{env.VNOTE_VER}}.dmg
commit: master
tag: v${{env.VNOTE_VER}}
allowUpdates: true
draft: true

View File

@ -21,18 +21,18 @@ jobs:
strategy:
matrix:
config:
- {
name: "Build On Win64 Qt 5.12",
arch: win64_msvc2017_64,
platform: x64,
qt: 5.12.11
}
- {
name: "Build On Win32 Qt 5.12",
arch: win32_msvc2017,
platform: x86,
qt: 5.12.11
}
# - {
# name: "Build On Win64 Qt 5.12",
# arch: win64_msvc2017_64,
# platform: x64,
# qt: 5.12.11
# }
# - {
# name: "Build On Win32 Qt 5.12",
# arch: win32_msvc2017,
# platform: x86,
# qt: 5.12.11
# }
- {
name: "Build On Win64 Qt 5.15",
arch: win64_msvc2019_64,
@ -177,6 +177,7 @@ jobs:
uses: ncipollo/release-action@v1.11.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
# We need hard code here.
artifacts: "D:/a/vnote/build/vnote-win-${{matrix.config.platform}}-qt${{matrix.config.qt}}_v${{env.VNOTE_VER}}.zip"
commit: master
tag: v${{env.VNOTE_VER}}