Skip to content

Commit

Permalink
feat: Automate the bin creation. Fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalourdio committed May 12, 2024
1 parent e588bf2 commit 062b16f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,25 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}

- name: Run tests
run: ./mvnw clean package
# - name: Run tests
# run: ./mvnw clean package

- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm-community'
java-version: ${{ matrix.graalvm-version }}

- name: GraalVM Compile
run: ./mvnw clean -Pnative native:compile
# - name: GraalVM Compile
# run: ./mvnw clean -Pnative native:compile

- name: Generate standalone downloadable zip
uses: actions/upload-artifact@v4
with:
name: flhacker
path: |
target/*.so
target/flhacker
bin/index.html
# target/*.so
# target/flhacker

deploy:
# if: github.ref == 'refs/heads/main'
Expand Down
1 change: 1 addition & 0 deletions bin/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello GH Pages

0 comments on commit 062b16f

Please sign in to comment.