Skip to content

Commit

Permalink
use abs path for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Aug 7, 2024
1 parent ad76b98 commit 695cf37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defaults:

env:
MEHARI_VERSION: "0.26.1"
SNAKEMAKE_OUTPUT_CACHE: "snakemake_cache"
SNAKEMAKE_OUTPUT_CACHE: "/github/workspace/snakemake_cache"

jobs:
build_data_release:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
id: cache-snakemake
uses: actions/cache@v4
with:
path: snakemake_cache
path: ${{ env.SNAKEMAKE_OUTPUT_CACHE }}
key: ${{ matrix.genome_release }}-${{ matrix.source }}-${{ hashFiles('config/config.yaml') }}

- name: Run data build workflow
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defaults:

env:
MEHARI_VERSION: "0.26.1"
SNAKEMAKE_OUTPUT_CACHE: "snakemake_cache"
SNAKEMAKE_OUTPUT_CACHE: "/github/workspace/snakemake_cache"

jobs:
release-please:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
id: cache-snakemake
uses: actions/cache@v4
with:
path: snakemake_cache
path: ${{ env.SNAKEMAKE_OUTPUT_CACHE }}
key: ${{ matrix.genome_release }}-${{ matrix.source }}-${{ hashFiles('config/config.yaml') }}

- name: Run data build workflow
Expand Down

0 comments on commit 695cf37

Please sign in to comment.