This action will build nextflow parameter file templates (see nextflow’s -params-file option) for Viash workflows and components in a repository.
target_dir
: (Optional) The target directory. If not specified, thetarget
path specified in the Viash project config (_viash.yaml
) will be used. If that is not specified, the defaulttarget/nextflow
will be used.viash_pro_token
: Viash Pro token.tools_version
: (Optional) Release of Viash tools to use. Default:latest
.
name: Demo of build-nextflow-params
on:
push:
jobs:
demo:
runs-on: ubuntu-latest
steps:
- name: Install Viash
uses: viash-io/viash-actions/setup@v6
- name: Check out repository
uses: actions/checkout@v3
- name: Build parameter yaml examples for Viash components
uses: viash-io/viash-actions/pro/build-nextflow-params@v6
with:
target: target/
token: ${{ secrets.VIASH_PRO_TOKEN }}
tools_version: main_build