Skip to content

Review action #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,29 @@ on:

jobs:
build:
uses: ome/action-workflows/.github/workflows/gradle_build.yml@v2
strategy:
matrix:
java: [8, 11]
distribution: ['temurin', 'zulu']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
gradle_version: 6.8.3 # use ``current`` to install the current stable release
gradle_commands: build # default is build
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
cache: 'gradle'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: ${{ env.gradle_version }}
- name: Run commands
run: gradle ${{ env.gradle_commands }}
publish_snapshots:
if: ${{ github.ref == 'refs/heads/master' && github.repository_owner == 'ome' }}
needs: build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Like any Java project, include the jar into your classpath.
The compilation, testing, launch, and delivery of the application are
automated by means of a Gradle (https://gradle.org/) build file.
In order to perform a build, all you need is
a JDK -- version 1.8 or later.
a JDK -- version 1.8 or 11 and Gradle 6.8.x
Clone this GitHub repository `git clone https://github.com/ome/omero-model.git`.
Go to the directory and enter:

Expand Down