forked from ome/bioformats
-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (28 loc) · 766 Bytes
/
Copy pathant.yml
File metadata and controls
30 lines (28 loc) · 766 Bytes
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
---
name: Ant
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
java: [8, 11, 17]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Build with Ant
run: |
./tools/test-build ant
ant docs
- name: Upload artifacts
# upload just one set of artifacts for easier PR review
if: matrix.os == 'ubuntu-latest' && matrix.java == '8'
uses: actions/upload-artifact@v4
with:
path: artifacts/
retention-days: 30