Skip to content

Commit

Permalink
add --static back on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed Nov 20, 2024
1 parent cc4e6c2 commit 182de3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli-continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
java-version: ${{ matrix.jdk-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build native image on Linux
run: native-image --enable-url-protocols=https --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux
run: native-image --enable-url-protocols=https --static --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux
if: runner.os == 'Linux'
- name: Build native image on Mac OS X (Intel x64)
run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-macos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
java-version: '23'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build native image on Linux
run: native-image --enable-url-protocols=https --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux
run: native-image --enable-url-protocols=https --static --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux
if: runner.os == 'Linux'
- name: Build native image on Mac OS X
run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-macos
Expand Down

0 comments on commit 182de3a

Please sign in to comment.