Skip to content

Commit cf512cc

Browse files
committed
chore: Use release packaging task in build workflow
This commit updates the GitHub Actions workflow for building the desktop application to use the `packageReleaseDistributionForCurrentOS` Gradle task instead of `packageDistributionForCurrentOS`. This ensures that the artifacts generated by the CI are release-optimized builds. Additionally, the workflow has been cleaned up by commenting out paths for unused JAR and APP artifacts.
1 parent de590ba commit cf512cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-desktop.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
include:
1515
- os: macos-latest
1616
format: macos
17-
gradle_task: packageDistributionForCurrentOS
17+
gradle_task: packageReleaseDistributionForCurrentOS
1818
- os: windows-latest
1919
format: windows
20-
gradle_task: packageDistributionForCurrentOS
20+
gradle_task: packageReleaseDistributionForCurrentOS
2121
- os: ubuntu-latest
2222
format: linux
23-
gradle_task: packageDistributionForCurrentOS
23+
gradle_task: packageReleaseDistributionForCurrentOS
2424

2525
steps:
2626
- name: Checkout code
@@ -51,7 +51,7 @@ jobs:
5151
# composeApp/build/compose/binaries/**/pkg/*
5252
composeApp/build/compose/binaries/**/deb/*
5353
composeApp/build/compose/binaries/**/msi/*
54-
composeApp/build/compose/jars/*.jar
54+
# composeApp/build/compose/jars/*.jar
5555
# composeApp/build/compose/binaries/**/app/*
5656

5757
release:

0 commit comments

Comments
 (0)