mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
ci: Fix nextflow cache skip
This commit is contained in:
parent
180ea5b422
commit
b0e235d676
2 changed files with 4 additions and 3 deletions
1
.github/workflows/nf-core-linting.yml
vendored
1
.github/workflows/nf-core-linting.yml
vendored
|
@ -60,6 +60,7 @@ jobs:
|
|||
key: ${{ runner.os }}-nextflow
|
||||
|
||||
- name: Install Nextflow
|
||||
if: steps.cache-nextflow.outputs.cache-hit != 'true'
|
||||
env:
|
||||
CAPSULE_LOG: none
|
||||
run: |
|
||||
|
|
6
.github/workflows/pytest-workflow.yml
vendored
6
.github/workflows/pytest-workflow.yml
vendored
|
@ -49,13 +49,13 @@ jobs:
|
|||
run: python -m pip install --upgrade pip pytest-workflow
|
||||
|
||||
- uses: actions/cache@v2
|
||||
id: cache-nextflow
|
||||
with:
|
||||
path: /usr/local/bin/nextflow
|
||||
key: ${{ runner.os }}-nextflow-${{ matrix.nxf_version }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-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
|
||||
|
|
Loading…
Reference in a new issue