From b2341a00d20a878395e3bd4a01f1f1a13e677544 Mon Sep 17 00:00:00 2001 From: silask Date: Thu, 5 Oct 2023 14:34:56 +0200 Subject: [PATCH] cache and restore v3 --- .github/workflows/python-package-conda.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 96558248..98b289b9 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -9,7 +9,7 @@ jobs: build-and-dryrun: runs-on: ubuntu-latest strategy: - max-parallel: 2 + max-parallel: 1 steps: @@ -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 @@ -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: | @@ -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 @@ -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