From 0e178064c613324b1eba4d9559ace98bb29a6f0f Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 10 Oct 2024 23:00:38 +0100 Subject: [PATCH] CI: do not upload macos installers --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 522a815144..4e30c7786b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,7 @@ jobs: compose_resource_triple: windows-x64 run_tests: true assemble: true + uploadDesktopInstallers: true gradleArgs: '"-Dorg.gradle.jvmargs=-Xmx4096m" "-Dfile.encoding=UTF-8" "-Dkotlin.daemon.jvm.options=-Xmx4096M"' - os: ubuntu-20.04 name: Ubuntu x86_64 (Compile only) @@ -43,6 +44,7 @@ jobs: compose_resource_triple: linux-x64 run_tests: false # 只编译, 因为 test 不支持 linux assemble: false + uploadDesktopInstallers: false gradleArgs: '-Dorg.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx4096M' - os: macos-13 name: macOS x86_64 @@ -53,6 +55,7 @@ jobs: compose_resource_triple: macos-x64 run_tests: true assemble: true + uploadDesktopInstallers: false gradleArgs: >- -Dorg.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 @@ -271,6 +274,7 @@ jobs: path: app/desktop/appResources/${{ matrix.compose_resource_triple }}/anitorrent - name: Package Desktop + if: ${{ matrix.uploadDesktopInstallers }} run: ./gradlew packageReleaseDistributionForCurrentOS ${{ env.gradleArgs }} id: packageReleaseDistributionForCurrentOS