diff --git a/.github/workflows/nf-core-linting.yml b/.github/workflows/nf-core-linting.yml index e49d3209..11760eb1 100644 --- a/.github/workflows/nf-core-linting.yml +++ b/.github/workflows/nf-core-linting.yml @@ -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: | diff --git a/.github/workflows/pytest-workflow.yml b/.github/workflows/pytest-workflow.yml index 34a4cabd..75cbaaee 100644 --- a/.github/workflows/pytest-workflow.yml +++ b/.github/workflows/pytest-workflow.yml @@ -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