Skip to content

Commit

Permalink
CI: do not upload macos installers
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Oct 17, 2024
1 parent 8d2cb7f commit 0e17806
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 0e17806

Please sign in to comment.