diff --git a/.github/workflows/create-image.yml b/.github/workflows/create-image.yml index 97ec5ba..eef1a32 100644 --- a/.github/workflows/create-image.yml +++ b/.github/workflows/create-image.yml @@ -46,7 +46,7 @@ jobs: echo "Submodule already exists, terminating github actions" fi - cd ./submissions-${year}/${user_name}-${repo_name}/ + cd ./submissions-${year}/${user_name}-${repo_name}/${user_name}-${repo_name} outputs: status: ${{ steps.create_student_submodule.outcome }} year: ${{ env.YEAR }} @@ -74,9 +74,11 @@ jobs: - name: Get submodule's dependencies in JSON file run: | - it-depends ${{ needs.create_submodule.outputs.user_name }}/${{ needs.create_submodule.outputs.repo_name }} --depth-limit 1 >> ${{ needs.create_submodule.outputs.user_name }}-${{ needs.create_submodule.outputs.repo_name }}.json + it-depends . --depth-limit 1 >> ${{ 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 ${{ needs.create_submodule.outputs.user_name }}-${{ needs.create_submodule.outputs.repo_name }}.json ]]; then + cat ${{ needs.create_submodule.outputs.user_name }}-${{ needs.create_submodule.outputs.repo_name }}.json if [[ -f ${{ needs.create_submodule.outputs.user_name }}-${{ needs.create_submodule.outputs.repo_name }}.json ]]; then cat ${{ needs.create_submodule.outputs.user_name }}-${{ needs.create_submodule.outputs.repo_name }}.json else diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 1d8fb89..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "submissions-2024/lillywallawitsch-Wondernest.Express/lillywallawitsch-Wondernest.Express"] - path = submissions-2024/lillywallawitsch-Wondernest.Express/lillywallawitsch-Wondernest.Express - url = https://github.com/lillywallawitsch/Wondernest.Express diff --git a/submissions-2024/lillywallawitsch-Wondernest.Express/lillywallawitsch-Wondernest.Express b/submissions-2024/lillywallawitsch-Wondernest.Express/lillywallawitsch-Wondernest.Express deleted file mode 160000 index 837425e..0000000 --- a/submissions-2024/lillywallawitsch-Wondernest.Express/lillywallawitsch-Wondernest.Express +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 837425e2d6cc3966a7212cddbb91cfdf5c7b6eac