mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-18 02:46:13 -05: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
|
key: ${{ runner.os }}-nextflow
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Install Nextflow
|
||||||
|
if: steps.cache-nextflow.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
CAPSULE_LOG: none
|
CAPSULE_LOG: none
|
||||||
run: |
|
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
|
run: python -m pip install --upgrade pip pytest-workflow
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
|
id: cache-nextflow
|
||||||
with:
|
with:
|
||||||
path: /usr/local/bin/nextflow
|
path: /usr/local/bin/nextflow
|
||||||
key: ${{ runner.os }}-nextflow-${{ matrix.nxf_version }}
|
key: ${{ runner.os }}-nextflow
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-nextflow-
|
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Install Nextflow
|
||||||
|
if: steps.cache-nextflow.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
NXF_VER: ${{ matrix.nxf_version }}
|
NXF_VER: ${{ matrix.nxf_version }}
|
||||||
CAPSULE_LOG: none
|
CAPSULE_LOG: none
|
||||||
|
|
Loading…
Add table
Reference in a new issue