[Release] test CI 4

This commit is contained in:
Le Tan 2022-10-03 20:52:08 +08:00
parent 7e5ea84f37
commit ff6031209f
3 changed files with 9 additions and 8 deletions

View File

@ -157,4 +157,3 @@ jobs:
commit: master
tag: v${{env.VNOTE_VER}}
allowUpdates: true

View File

@ -163,9 +163,10 @@ jobs:
- name: Release
if: github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, '[Release]')
uses: johnwbyrd/update-release@v1.0.0
uses: ncipollo/release-action@v1.11.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{runner.workspace}}/build/vnote-mac-x64-qt${{matrix.config.qt}}.dmg
release: Release v${{env.VNOTE_VER}}
artifacts: ${{runner.workspace}}/build/vnote-mac-x64-qt${{matrix.config.qt}}.dmg
commit: master
tag: v${{env.VNOTE_VER}}
allowUpdates: true

View File

@ -164,11 +164,12 @@ jobs:
release: Continuous Build
tag: continuous-build
- name: Rlease
- name: Release
if: github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, '[Release]')
uses: johnwbyrd/update-release@v1.0.0
uses: ncipollo/release-action@v1.11.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{runner.workspace}}/build/vnote-win-${{matrix.config.platform}}-qt${{matrix.config.qt}}.zip ${{runner.workspace}}/build/distrib/VNote*.msi
release: Release v${{env.VNOTE_VER}}
artifacts: ${{runner.workspace}}/build/vnote-win-${{matrix.config.platform}}-qt${{matrix.config.qt}}.zip,${{runner.workspace}}/build/distrib/VNote*.msi
commit: master
tag: v${{env.VNOTE_VER}}
allowUpdates: true