.github/workflows/manual-all-environments.yml #10
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
on: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: "Test ${{ matrix.os }} with default JDK" | |
strategy: | |
fail-fast: false | |
max-parallel: 3 | |
matrix: | |
# https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners | |
os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-14, macos-13, macos-11, windows-latest, windows-2019 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 'Check out repository' | |
uses: actions/checkout@v4 | |
- name: 'Set up default JDK' | |
id: setup | |
uses: ./ | |
- name: 'Print outputs' | |
shell: bash | |
run: | | |
echo 'Outputs' | |
echo "steps.setup.outputs.archive = ${{ steps.setup.outputs.archive }}" | |
echo "steps.setup.outputs.version = ${{ steps.setup.outputs.version }}" | |
- name: 'Print Java version' | |
run: java -version |