Skip to content

Native Build

Native Build #2

Workflow file for this run

name: Native Build
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Display release tag
run: echo ${{ github.event.release.tag_name }}
- name: Pull Docker Image
run: docker pull gradle:jdk21-graal-jammy
- name: Gradle Build
run: |
docker run --rm \
-e GITHUB_REF=${{ github.ref }} \
-e GITHUB_SHA=${{ github.sha }} \
-e PLUGIN_ORGCONFIG=https://vacco-oss.s3.us-east-2.amazonaws.com/vacco-oss.json \
-v ${{ github.workspace }}:/workspace \
-w /workspace \
gradle:jdk21-graal-jammy \
gradle clean build nativeCompile
- name: Upload binaries
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: a4-lb/build/native/nativeCompile/a4lb-*
file_glob: true