From ff6031209f5b2b4f3ba496188f1972964121a0d7 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Mon, 3 Oct 2022 20:52:08 +0800 Subject: [PATCH] [Release] test CI 4 --- .github/workflows/ci-linux.yml | 1 - .github/workflows/ci-macos.yml | 7 ++++--- .github/workflows/ci-win.yml | 9 +++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index b308f111..a3f65cf7 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -157,4 +157,3 @@ jobs: commit: master tag: v${{env.VNOTE_VER}} allowUpdates: true - diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index c5d5e779..7babbd88 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -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 diff --git a/.github/workflows/ci-win.yml b/.github/workflows/ci-win.yml index 9a1fceb9..a6c68fca 100644 --- a/.github/workflows/ci-win.yml +++ b/.github/workflows/ci-win.yml @@ -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