Browse Source

[Release] test CI 12

Le Tan 3 years ago
parent
commit
3d77c29393
3 changed files with 23 additions and 19 deletions
  1. 2 1
      .github/workflows/ci-linux.yml
  2. 8 6
      .github/workflows/ci-macos.yml
  3. 13 12
      .github/workflows/ci-win.yml

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

@@ -153,7 +153,8 @@ jobs:
         uses: ncipollo/[email protected]
         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

+ 8 - 6
.github/workflows/ci-macos.yml

@@ -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/[email protected]
         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

+ 13 - 12
.github/workflows/ci-win.yml

@@ -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/[email protected]
         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}}