Skip to content

Merge pull request #123 from ome/pre-commit-ci-update-config #237

Merge pull request #123 from ome/pre-commit-ci-update-config

Merge pull request #123 from ome/pre-commit-ci-update-config #237

Workflow file for this run

---
name: Gradle
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
strategy:
matrix:
java: [8, 11]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }} and Gradle
uses: ome/[email protected]
with:
java-version: ${{ matrix.java }}
- name: Prepare minio
if: runner.os != 'Windows'
run: |
(cd ci && ./startminio.sh)
echo AWS_ACCESS_KEY_ID=stsadmin >> $GITHUB_ENV
echo AWS_SECRET_ACCESS_KEY=stsadmin-secret >> $GITHUB_ENV
- name: Gradle check
if: runner.os != 'Windows'
run: |
gradle check
- name: Gradle check
if: runner.os == 'Windows'
run: |
gradle check -PexcludeTests="**/s3*"
- name: Gradle shadowJar
run: gradle shadowJar