Skip to content

Commit

Permalink
cache and restore v3
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasK committed Oct 5, 2023
1 parent f33b37e commit b2341a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build-and-dryrun:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
max-parallel: 1


steps:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: cache example data
id: get-data
uses: actions/cache@v2
uses: actions/cache/restore@v3
with:
path: test_reads.tar.gz
key: example-data
Expand All @@ -84,10 +84,10 @@ jobs:

- name: cache example data
if: steps.get-data.outputs.cache-hit != 'true'
uses: actions/cache@v2
uses: actions/cache/save@v3
with:
path: test_reads.tar.gz
key: example-data
key: ${{ steps.get-data.outputs.cache-primary-key }}

- name: extract data
run: |
Expand All @@ -96,7 +96,7 @@ jobs:
- name: get conda envs
id: get-envs
uses: actions/cache@v2
uses: actions/cache/restore@v3
with:
path: databases/conda_envs
key: assembly-conda-envs
Expand All @@ -121,10 +121,10 @@ jobs:

- name: Cache conda envs
if: steps.get-envs.outputs.cache-hit != 'true'
uses: actions/cache@v2
uses: actions/cache/save@v3
with:
path: databases/conda_envs
key: assembly-conda-envs
key: ${{ steps.get-envs.outputs.cache-primary-key }}


- name: Run QC
Expand Down

0 comments on commit b2341a0

Please sign in to comment.