Skip to content

fix build

fix build #2

Workflow file for this run

name: release
on:
push:
tags:
- '**'
branches-ignore:
- '**'
jobs:
build_libraries:
runs-on: ${{ matrix.os.runner }}
strategy:
matrix:
os:
- runner: ubuntu-22.04
type: linux
platform: linux-amd64
- runner: ubuntu-22.04-arm
type: linux
platform: linux-arm64
- runner: macos-latest
type: macos
platform: darwin-arm64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: "25"
distribution: "temurin"
cache: gradle
- uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.28.3
- if: ${{ matrix.os.platform != 'linux-amd64' }}
name: java
run: |
./gradlew --no-parallel --no-configuration-cache publish -Prelease=true -PdeployUser=${{ secrets.deploy_user }} -PdeployPassword=${{ secrets.deploy_password }}
- if: ${{ matrix.os.platform == 'linux-amd64' }}
name: java rhel9
uses: kohlerdominik/docker-run-action@v2.0.0
with:
image: almalinux:9
workdir: /workspace
volumes: |
${{ github.workspace }}:/workspace
environment: |
JAVA_HOME=/usr
run: |
dnf update -y
dnf install -y java-25-openjdk-devel g++ cmake
pwd
ls -l
./gradlew --no-parallel --no-configuration-cache publish -Prelease=true -PdeployUser=${{ secrets.deploy_user }} -PdeployPassword=${{ secrets.deploy_password }}