Skip to content

.github/workflows/manual-all-environments.yml #11

.github/workflows/manual-all-environments.yml

.github/workflows/manual-all-environments.yml #11

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