mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
[Release] test CI 12
This commit is contained in:
parent
aea0da5570
commit
3d77c29393
3
.github/workflows/ci-linux.yml
vendored
3
.github/workflows/ci-linux.yml
vendored
@ -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
|
||||
|
14
.github/workflows/ci-macos.yml
vendored
14
.github/workflows/ci-macos.yml
vendored
@ -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
|
||||
|
25
.github/workflows/ci-win.yml
vendored
25
.github/workflows/ci-win.yml
vendored
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user