From 695cf37871b66ce6aec0787fafa5c20ccd8c0c75 Mon Sep 17 00:00:00 2001 From: Till Hartmann Date: Wed, 7 Aug 2024 14:43:12 +0200 Subject: [PATCH] use abs path for cache --- .github/workflows/build.yml | 4 ++-- .github/workflows/release-please.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9428d3..6a7b526 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5162049..7c4d735 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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: @@ -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