setup-nextflow/action.yml

35 lines
1.1 KiB
YAML
Raw Permalink Normal View History

name: "Setup Nextflow"
description: "Install Nextflow and add it to the PATH"
author: "nf-core"
2022-06-13 17:41:50 +00:00
inputs:
version:
description: "The Nextflow version to download (if necessary) and use. Example: 21.10.3"
2022-06-13 17:41:50 +00:00
required: false
default: "latest-stable"
2022-06-13 17:41:50 +00:00
all:
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"
2022-06-13 17:41:50 +00:00
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 }}
all: ${{ inputs.all }}
2022-06-13 17:41:50 +00:00
branding:
icon: "shuffle"
color: "green"