Skip to content

Merge pull request #4214 from sbesson/issue_4209 #1081

Merge pull request #4214 from sbesson/issue_4209

Merge pull request #4214 from sbesson/issue_4209 #1081

Workflow file for this run

---
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