Skip to content

Commit

Permalink
build: fix workflow to include resources
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhgray committed Oct 30, 2024
1 parent d33a02e commit 88c97f8
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,27 @@ jobs:
cd tahini
./gradlew build
- name: Compile native image
- name: Compile native image on Linux/macOS
if: matrix.os != 'windows-latest'
run: |
cd tahini
native-image \
--no-fallback \
-H:Name=tahini \
-H:+ReportExceptionStackTraces \
-H:IncludeResources="larder/.*" \
-jar app/build/libs/app.jar
- name: Compile native image on Windows
if: matrix.os == 'windows-latest'
run: |
cd tahini
native-image -jar app/build/libs/app.jar tahini
native-image `
--no-fallback `
-H:Name=tahini `
-H:+ReportExceptionStackTraces `
-H:IncludeResources="larder/.*" `
-jar app/build/libs/app.jar
- name: Rename binary for unique names on Macos and Linux
if: matrix.os != 'windows-latest'
Expand Down

0 comments on commit 88c97f8

Please sign in to comment.