Merge pull request #3911 from melissalinkert/dicom-dual-personality #750
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@v2 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
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@v3 | |
with: | |
path: artifacts/ | |
retention-days: 30 |