feat: Add setup-java as first step of composite action

This commit is contained in:
Thomas A. Christensen II 2024-12-04 19:19:59 -06:00
parent bb8efea4b5
commit b25949348e
Signed by: millironx
GPG key ID: B7044A3432851F64

View file

@ -10,9 +10,21 @@ inputs:
description: "Whether to install every Nextflow release via the '-all' distribution." description: "Whether to install every Nextflow release via the '-all' distribution."
required: false required: false
default: "false" default: "false"
java-version:
description: "The Java version to install as the required dependency of Nextflow. Passed to the underlying setup-java action."
required: false
default: "17"
java-distribution:
description: "The Java distribution to install as the required dependency of Nextflow. Passed to the underlying setup-java action."
required: false
default: "zulu"
runs: runs:
using: "composite" using: "composite"
steps: steps:
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
java-version: ${{ inputs.java-version }}
distribution: ${{ inputs.java-distribution }}
- uses: ./subaction - uses: ./subaction
with: with:
version: ${{ inputs.version }} version: ${{ inputs.version }}