Skip to content

Commit

Permalink
fix: step order/cache order in config_scan
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioseel committed Oct 10, 2024
1 parent 41ed433 commit 4278a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/config_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Apptainer
uses: eWaterCycle/setup-apptainer@v2
with:
Expand All @@ -17,15 +18,14 @@ jobs:
id: cache-singularity
uses: actions/cache@v3
with:
path: ~/${{ env.sif_file }}
path: ${{ env.sif_file }}
key: ${{ runner.os }}-singularity-${{ hashFiles('~/resources/retinal-rl.def') }}
- name: Pull Singularity container
if: steps.cache-singularity.outputs.cache-hit != 'true'
run: |
singularity registry login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} oras://ghcr.io
singularity pull ${{ env.sif_file }} ${{ env.singularity_image }}
- uses: actions/checkout@v4
- name: Scan classification config
run: |
cp -r resources/config_templates/* config/
Expand Down

0 comments on commit 4278a6a

Please sign in to comment.