Skip to content

Merge pull request #1 from youssefshibl/main #2

Merge pull request #1 from youssefshibl/main

Merge pull request #1 from youssefshibl/main #2

Workflow file for this run

name: Build Encrypto Deb Package
on:
push:
branches: [deb]
jobs:
build:
name: Build Encrypto to Binary
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set Maven
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Build encrypto with Maven
run: mvn clean package -Pnative
- name: Upload binary as artifact
uses: actions/upload-artifact@v3
with:
name: encrypto-binary
path: target/native/encrypto