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 e029f7b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,21 @@ 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 \
-H:IncludeResources="larder/.*" \
-jar app/build/libs/app.jar tahini
- 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 `
-H:IncludeResources="larder/.*" `
-jar app/build/libs/app.jar tahini
- name: Rename binary for unique names on Macos and Linux
if: matrix.os != 'windows-latest'
Expand Down

0 comments on commit e029f7b

Please sign in to comment.