Skip to content

feat: Add native image plugin for native builds #32

feat: Add native image plugin for native builds

feat: Add native image plugin for native builds #32

name: Publish Packages
on:
push:
branches:
- master
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: gradle
- name: Grant execute permission for gradlew
shell: bash
run: chmod +x gradlew
- name: Run gradle publish and build
run: >
gradle publish shadowDistZip
-PmineinabyssMavenUsername=${{ secrets.MAVEN_PUBLISH_USERNAME }} -PmineinabyssMavenPassword=${{ secrets.MAVEN_PUBLISH_PASSWORD }}
- name: Run native compile
run: ./gradlew nativeCompile
- uses: MineInAbyss/publish-action@develop
with:
run-gradle-build: false
release-files: |
keepup-cli/build/distributions/keepup*.zip
keepup-cli/build/native/nativeCompile/keepup*.zip