Skip to content

Commit

Permalink
Added lillywallawitsch-Wondernest.Express as a submodule by github-ac…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
github-actions authored and alkaline-0 committed Apr 25, 2024
1 parent 22c17d0 commit 5c458ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
echo "Submodule already exists, terminating github actions"
fi
cd ./submissions-${year}/${user_name}-${repo_name}/
env:
outputs:
year: ${year}
user_name: ${user_name}
repo_name: ${repo_name}
Expand All @@ -69,14 +69,14 @@ jobs:
run: pip install -U github-dependents-info

- name: Get submodule's dependencies in JSON file
run: github-dependents-info --repo ${jobs.create_submodule.steps[*].create_student_submodule.env.user_name}/${jobs.create_submodule.steps[*].create_student_submodule.env.repo_name} --json
run: github-dependents-info --repo ${needs.create_submodule.outputs..user_name}/${needs.create_submodule.outputs..repo_name} --json

- name: Check if the JSON file was created successfully
run: |
if [[ -f ${jobs.create_submodule.steps[*].create_student_submodule.env.user_name}/${jobs.create_submodule.steps[*].create_student_submodule.env.repo_name}.json ]]; then
echo "${jobs.create_submodule.steps[*].create_student_submodule.env.user_name}/${jobs.create_submodule.steps[*].create_student_submodule.env.repo_name}.json exists!"
if [[ -f ${needs.create_submodule.outputs..user_name}/${needs.create_submodule.outputs..repo_name}.json ]]; then
echo "${needs.create_submodule.outputs..user_name}/${needs.create_submodule.outputs..repo_name}.json exists!"
else
echo "${jobs.create_submodule.steps[*].create_student_submodule.env.user_name}/${jobs.create_submodule.steps[*].create_student_submodule.env.repo_name}.json does not exist!"
echo "${needs.create_submodule.outputs..user_name}/${needs.create_submodule.outputs..repo_name}.json does not exist!"
fi
# need to add export DOCKER_BUILDKIT=1 before building python docker image

0 comments on commit 5c458ce

Please sign in to comment.