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