Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 20, 2023
1 parent a53ef1f commit 50cd463
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/apptainer-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
run: |
cont_name=$(echo "${GITHUB_REF_NAME:-}" | sed -E 's/^sif-//; s/-.*$//')
echo "Container name is ${cont_name:-}"
if [ ! -r "${cont_name:-}/Singularity" ]; then
echo "No container named ${cont_name:-} found."
exit 1
fi
[ -d "${cont_name:-}" ] || { echo "No container named ${cont_name:-} found."; exit 1; }
echo "cont_name=$cont_name" >> $GITHUB_ENV
- name: Delete GitHub AGENT_TOOLSDIRECTORY to free space
run: |
Expand Down

0 comments on commit 50cd463

Please sign in to comment.