docs: Add note about why this is a complicated action

This commit is contained in:
Edmund Miller 2022-11-12 21:39:40 -06:00 committed by Thomas A. Christensen II
parent 70311f90c6
commit 39c8738968

View file

@ -73,3 +73,20 @@ This action locates the releases based upon the GitHub API, and requires an acce
## Outputs ## Outputs
There are no outputs from this action. There are no outputs from this action.
## Why was this action made?
[Slack link](https://nfcore.slack.com/archives/CE56GDKN0/p1655210460795839)
You may be asking, why not just a few yaml lines?
```yaml
- name: Install Nextflow
env:
NXF_VER: ${{ matrix.NXF_VER }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
```
The versioning. From the Nextflow install script you can't get `latest-edge` or `latest-everything` for example.