Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.12 KB

File metadata and controls

48 lines (35 loc) · 1.12 KB

build-nextflow-params

This action will build nextflow parameter file templates (see nextflow’s -params-file option) for Viash workflows and components in a repository.

Inputs available

  • target_dir: (Optional) The target directory. If not specified, the target path specified in the Viash project config (_viash.yaml) will be used. If that is not specified, the default target/nextflow will be used.
  • viash_pro_token: Viash Pro token.
  • tools_version: (Optional) Release of Viash tools to use. Default: latest.

Usage

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