Skip to content

try fix

try fix #2105

Workflow file for this run

name: ART Java Main
on:
push:
branches:
- main
jobs:
gradle-build:
strategy:
matrix:
os: [ ubuntu-latest ]
jdk: [ 21 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: tarantool/setup-tarantool@v1
with:
tarantool-version: '2.11'
- name: Setup temporary directory on Unix based
run: echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build --max-workers 8 --parallel
gradle-publish:
strategy:
matrix:
os: [ ubuntu-latest ]
jdk: [ 21 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean publish --max-workers 8 --parallel -Ppublisher.username=${publisherUsername} -Ppublisher.password=${publisherPassword} -Pversion=main
env:
publisherUsername: ${{ secrets.PUBLISHER_USERNAME }}
publisherPassword: ${{ secrets.PUBLISHER_PASSWORD }}