Browse Source

[Release] test CI 4

Le Tan 3 years ago
parent
commit
ff6031209f
3 changed files with 9 additions and 8 deletions
  1. 0 1
      .github/workflows/ci-linux.yml
  2. 4 3
      .github/workflows/ci-macos.yml
  3. 5 4
      .github/workflows/ci-win.yml

+ 0 - 1
.github/workflows/ci-linux.yml

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

+ 4 - 3
.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/[email protected].0
+        uses: ncipollo/[email protected].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

+ 5 - 4
.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/[email protected].0
+        uses: ncipollo/[email protected].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