ci: Fix nextflow cache order

This commit is contained in:
Edmund Miller 2021-04-12 14:24:33 -05:00
parent f8f9155b45
commit 180ea5b422
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

View file

@ -53,6 +53,12 @@ jobs:
if: steps.cache-pip.outputs.cache-hit != 'true'
run: python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev
- uses: actions/cache@v2
id: cache-nextflow
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}-nextflow
- name: Install Nextflow
env:
CAPSULE_LOG: none
@ -63,9 +69,3 @@ jobs:
- name: Lint ${{ matrix.tags }}
run: nf-core modules lint . -t ${{ matrix.tags }}
- uses: actions/cache@v2
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}
restore-keys: |
${{ runner.os }}