This PR adds the ability to customise the pre-run script or nextflow.config at runtime. Currently, it does this via a string input so you have to specify --pre_run 'export NXF_VER=23.10.1', this limits its usefulness for large scripts and config files but means it can easily be used with the Github Action runner.
Changes:
Can add pre-run and configs via YAML or via CLI
CLI takes precedence over YAML
Implemented in Github Action
Use string as input and populate a text file - fairly limited in scope
Key questions:
this solves the immediate use case of setting the Nextflow version.
Are we likely to use larger pre-run scripts and configs in this workflow?
Do we want to support files instead.
After this change, Github Action will look like this:
This PR adds the ability to customise the pre-run script or nextflow.config at runtime. Currently, it does this via a string input so you have to specify
--pre_run 'export NXF_VER=23.10.1'
, this limits its usefulness for large scripts and config files but means it can easily be used with the Github Action runner.Changes:
Key questions:
After this change, Github Action will look like this: