From c76e5bc991aeac5fef35edde225f16a08be0647c Mon Sep 17 00:00:00 2001 From: Benjamin Wingfield Date: Wed, 19 Jul 2023 14:37:30 +0100 Subject: [PATCH] fix environment variable --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8e822c2..5f2b3292 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,6 @@ on: release: types: [published] -env: - NXF_SINGULARITY_CACHEDIR: "${{ github.workspace }}/singularity" - SINGULARITY_VERSION: "3.8.3" - jobs: preload_docker: uses: ./.github/workflows/preload-docker.yml @@ -23,8 +19,8 @@ jobs: preload_singularity: uses: ./.github/workflows/preload-singularity.yml with: - singularity_version: ${{ env.SINGULARITY_VERSION }} - nxf_singularity_cachedir: ${{ env.NXF_SINGULARITY_CACHEDIR }} + singularity_version: 3.8.3 + nxf_singularity_cachedir: ${{ github.workspace }}/singularity standard_test_docker: needs: preload_docker @@ -39,6 +35,6 @@ jobs: with: cache-key: ${{ needs.preload_singularity.outputs.cache-key }} singularity: true - singularity_version: ${{ env.SINGULARITY_VERSION }} - nxf_singularity_cachedir: ${{ env.NXF_SINGULARITY_CACHEDIR }} + singularity_version: 3.8.3 + nxf_singularity_cachedir: ${{ github.workspace }}/singularity