GitHub Actions
Quick Start
name: Build Binary
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- uses: avelino/jbundle@main
with:
input: .
output: ./dist/myapp
- uses: actions/upload-artifact@v4
with:
name: myapp-linux-x64
path: ./dist/myappAction Reference
Inputs
Input
Required
Default
Description
Outputs
Output
Description
Examples
CLI Tool with Fast Startup
Specific Java Version
From Pre-built JAR
Install Only (Custom Build Commands)
Extra Arguments
Pin to a Specific Version
Cross-Platform Builds
Windows CI
Gradle Multi-Project
Caching
Reusing the CI JDK
Using jbundle.toml
Release Workflow
Debug
Troubleshooting
Build hangs at "Detecting build system"
Out of memory
Last updated
Was this helpful?