Skip to content

Commit

Permalink
feat: Add setup-java as first step of composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
MillironX committed Dec 5, 2024
1 parent bb8efea commit b259493
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,21 @@ inputs:
description: "Whether to install every Nextflow release via the '-all' distribution."
required: 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:
using: "composite"
steps:
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
java-version: ${{ inputs.java-version }}
distribution: ${{ inputs.java-distribution }}
- uses: ./subaction
with:
version: ${{ inputs.version }}
Expand Down

0 comments on commit b259493

Please sign in to comment.