Skip to content

Commit

Permalink
fix environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Jul 19, 2023
1 parent f13ba3f commit c76e5bc
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@ 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

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
Expand All @@ -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

0 comments on commit c76e5bc

Please sign in to comment.