forked from glencoesoftware/bioformats2raw
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 887 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
name: Gradle
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
strategy:
matrix:
java: [8, 11, 17]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
gradle_commands: --stacktrace build
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: "gradle"
- name: Install libraries
run: |
sudo apt-get install -y libblosc1
- name: Run commands
run: |
./gradlew ${{ env.gradle_commands }}
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bioformats2raw ${{ matrix.java }}
path: build/distributions/*.zip
retention-days: 30