diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 081ebbb1..57741792 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -59,6 +59,6 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: bin/release/${{ env.targetName }}.dmg - asset_name: ${{ env.targetName }}_${{ matrix.os }}_${{ matrix.qt_ver }}.dmg + asset_name: ${{ env.targetName }}_${{ github.ref_name }}_${{ matrix.os }}_Qt${{ matrix.qt_ver }}.dmg tag: ${{ github.ref }} overwrite: true \ No newline at end of file diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 8d385695..6e2047ec 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -72,6 +72,6 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ env.targetName }}.AppImage - asset_name: ${{ env.targetName }}_${{ matrix.os }}_${{ matrix.qt_ver }}.AppImage + asset_name: ${{ env.targetName }}_${{ github.ref_name }}_${{ matrix.os }}_Qt${{ matrix.qt_ver }}.AppImage tag: ${{ github.ref }} overwrite: true \ No newline at end of file diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0dfa2c8a..ce0c582e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -16,10 +16,11 @@ jobs: name: Build # 运行平台, windows-latest目前是windows server 2019 # 参考文档 https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md - runs-on: windows-2019 + runs-on: ${{ matrix.os }} strategy: # 矩阵配置 matrix: + os: [windows-2019] include: - qt_ver: 6.4.3 qt_arch: win64_msvc2019_64 @@ -86,6 +87,6 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.package.outputs.packageName }}.zip - asset_name: ${{ steps.package.outputs.packageName }}.zip + asset_name: ${{ env.fileName }}_${{ github.ref_name }}_${{ matrix.os }}_Qt${{ matrix.qt_ver }}.zip tag: ${{ github.ref }} overwrite: true \ No newline at end of file