Skip to content

Commit bf1eb1f

Browse files
committed
chore: Update macOS runner and streamline release artifacts
This commit updates the GitHub Actions workflow for building the desktop application. The macOS Intel build runner has been updated from `macos-13` to `macos-15-intel`. Additionally, the build process has been simplified by removing the `packageUberJarForCurrentOS` Gradle task, as it is redundant. The release artifact configuration has also been cleaned up to only include essential installer formats (`.dmg`, `.msi`, `.deb`), removing `.pkg`, `.exe`, `.rpm`, and `.jar` files.
1 parent 7463733 commit bf1eb1f

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/build-desktop.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
gradle_task: packageReleaseDistributionForCurrentOS
1919

2020
# macOS Intel (x64)
21-
- os: macos-13
21+
- os: macos-15-intel
2222
format: macos-intel
2323
gradle_task: packageReleaseDistributionForCurrentOS
2424

@@ -47,7 +47,7 @@ jobs:
4747
run: chmod +x gradlew
4848

4949
- name: Build native packages
50-
run: ./gradlew ${{ matrix.gradle_task }} packageUberJarForCurrentOS --stacktrace
50+
run: ./gradlew ${{ matrix.gradle_task }} --stacktrace
5151

5252
- name: Upload artifact
5353
uses: actions/upload-artifact@v4
@@ -57,9 +57,6 @@ jobs:
5757
composeApp/build/compose/binaries/**/dmg/*
5858
composeApp/build/compose/binaries/**/deb/*
5959
composeApp/build/compose/binaries/**/msi/*
60-
# composeApp/build/compose/binaries/**/pkg/*
61-
# composeApp/build/compose/jars/*.jar
62-
# composeApp/build/compose/binaries/**/app/*
6360
6461
release:
6562
name: Create GitHub Release
@@ -81,14 +78,8 @@ jobs:
8178
files: |
8279
artifacts/build-macos-arm/**/*.dmg
8380
artifacts/build-macos-intel/**/*.dmg
84-
artifacts/build-macos-arm/**/*.pkg
85-
artifacts/build-macos-intel/**/*.pkg
8681
artifacts/build-windows/**/*.msi
87-
artifacts/build-windows/**/*.exe
88-
artifacts/build-windows/**/*.jar
8982
artifacts/build-linux/**/*.deb
90-
artifacts/build-linux/**/*.rpm
91-
artifacts/build-linux/**/*.jar
9283
draft: true
9384
tag_name: ${{ github.ref_name }}
9485
env:

0 commit comments

Comments
 (0)