mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 18:58:16 +00:00
ci: Seperate out out copying nextflow to bin
This commit is contained in:
parent
9f6641f80f
commit
bf165afd16
2 changed files with 11 additions and 8 deletions
10
.github/workflows/nf-core-linting.yml
vendored
10
.github/workflows/nf-core-linting.yml
vendored
|
@ -56,16 +56,18 @@ jobs:
|
|||
- uses: actions/cache@v2
|
||||
id: cache-nextflow
|
||||
with:
|
||||
path: /usr/local/bin/nextflow
|
||||
path: nextflow
|
||||
key: ${{ runner.os }}-nextflow
|
||||
|
||||
- name: Install Nextflow
|
||||
if: steps.cache-nextflow.outputs.cache-hit != 'true'
|
||||
env:
|
||||
NXF_VER: ${{ matrix.nxf_version }}
|
||||
CAPSULE_LOG: none
|
||||
run: |
|
||||
wget -qO- get.nextflow.io | bash
|
||||
sudo mv nextflow /usr/local/bin/
|
||||
run: wget -qO- get.nextflow.io | bash
|
||||
|
||||
- name: Copy nextflow to bin
|
||||
run: sudo cp nextflow /usr/local/bin/
|
||||
|
||||
- name: Lint ${{ matrix.tags }}
|
||||
run: nf-core modules lint . -t ${{ matrix.tags }}
|
||||
|
|
9
.github/workflows/pytest-workflow.yml
vendored
9
.github/workflows/pytest-workflow.yml
vendored
|
@ -51,7 +51,7 @@ jobs:
|
|||
- uses: actions/cache@v2
|
||||
id: cache-nextflow
|
||||
with:
|
||||
path: /usr/local/bin/nextflow
|
||||
path: nextflow
|
||||
key: ${{ runner.os }}-nextflow
|
||||
|
||||
- name: Install Nextflow
|
||||
|
@ -59,9 +59,10 @@ jobs:
|
|||
env:
|
||||
NXF_VER: ${{ matrix.nxf_version }}
|
||||
CAPSULE_LOG: none
|
||||
run: |
|
||||
wget -qO- get.nextflow.io | bash
|
||||
sudo mv nextflow /usr/local/bin/
|
||||
run: wget -qO- get.nextflow.io | bash
|
||||
|
||||
- name: Copy nextflow to bin
|
||||
run: sudo cp nextflow /usr/local/bin/
|
||||
|
||||
- name: Set up Singularity
|
||||
if: matrix.profile == 'singularity'
|
||||
|
|
Loading…
Reference in a new issue