Skip to content

Commit

Permalink
Compress native-image result
Browse files Browse the repository at this point in the history
  • Loading branch information
Thihup committed May 27, 2024
1 parent 6c3db17 commit e0b3640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ jobs:
run: |
cd dev.thihup.jvisualg.ide
mvn --no-transfer-progress -Pnative package
- name: Compress
run: |
Get-ChildItem -Path dev.thihup.jvisualg.ide/target/*.dll, dev.thihup.jvisualg.ide/target/JVisualG.exe |
Compress-Archive -DestinationPath dev.thihup.jvisualg.ide/target/JVisualG.zip
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "dev.thihup.jvisualg.ide/target/JVisualG.exe"
artifacts: "dev.thihup.jvisualg.ide/target/JVisualG.zip"
replacesArtifacts: true
tag: JVisualg
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion dev.thihup.jvisualg.ide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
<configuration>
<buildArgs>
<buildArg>--no-fallback</buildArg>
<buildArg>--static</buildArg>
</buildArgs>
</configuration>
<executions>
Expand Down

0 comments on commit e0b3640

Please sign in to comment.