Merge pull request #97 from abelsromero/bump-junit-to-v5 #77
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: Upstream Build | |
on: | |
# keep this separate from nightly build, as GitHub will disable scheduled builds after 30 days | |
# without a change (and won't enable them automatically, for example on pushed changes or pull requests) | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build | |
strategy: | |
max-parallel: 2 | |
matrix: | |
java: | |
- '8' | |
- '11' | |
- '17' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Upstream Build | |
run: | | |
./test-asciidoctor-upstream.sh | |