Skip to content

Revert "chore: remove unneeded repackage goal" #98

Revert "chore: remove unneeded repackage goal"

Revert "chore: remove unneeded repackage goal" #98

Workflow file for this run

name: CI
on: [ push, pull_request, workflow_dispatch ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
matrix:
graalvm-version: [ 21 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm-community'
java-version: ${{ matrix.graalvm-version }}
cache: 'maven'
- name: GraalVM Compile
run: ./mvnw clean -Pnative native:compile
- name: Create ZIP and move it to tmp folder
run: mkdir tmp && zip -j tmp/flhacker.zip target/*.so target/flhacker
- name: Upload GitHub Pages artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: 'tmp'
deploy:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4