Skip to content

Commit

Permalink
Change the way to get env variable on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Mar 27, 2024
1 parent d204d5f commit 168620e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
name: jars
path: app/build/libs/
- name: Package jar as exe
run: 'jpackage --main-jar app-${{ env.APP_VERSION }}-all.jar "@misc/jpackage/jpackage.cfg" "@misc/jpackage/jpackage-windows.cfg"'
run: 'jpackage --main-jar "app-${{ env.APP_VERSION }}-all.jar" "@misc/jpackage/jpackage.cfg" "@misc/jpackage/jpackage-windows.cfg"'
- name: Upload installer
uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ version = project.properties["version"].toString()

idea.project.settings {
runConfigurations {
create("DataCatererUI", Application::class.java) {
mainClass = "io.github.datacatering.datacaterer.core.ui.DataCatererUI"
moduleName = "data-caterer.app.main"
includeProvidedDependencies = true
}
create("GenerateFromManualJson", Application::class.java) {
mainClass = "io.github.datacatering.datacaterer.App"
moduleName = "data-caterer.app.main"
Expand Down

0 comments on commit 168620e

Please sign in to comment.