Skip to content

Commit

Permalink
feat: output dir structure in wf
Browse files Browse the repository at this point in the history
  • Loading branch information
Kav91 committed Sep 16, 2024
1 parent 7e22a22 commit a924d51
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/catalog-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,19 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --depth=1 --recursive --jobs 8
echo "Submodules directory listing after checkout:"
ls -al submodule_name/
# Download submodule_name artifact
- name: Download submodule_name artifact
uses: actions/download-artifact@v4
with:
name: submodule_name
- name: List files in the current directory
run: |
echo "Directory structure after artifact download:"
ls -al
cat submodule_name.txt
- name: Set SUBMODULE_NAME env var
run: |
Expand Down Expand Up @@ -152,11 +160,19 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --depth=1 --recursive --jobs 8
echo "Submodules directory listing after checkout:"
ls -al submodule_name/
# Download submodule_name artifact
- name: Download submodule_name artifact
uses: actions/download-artifact@v4
with:
name: submodule_name
- name: List files in the current directory
run: |
echo "Directory structure after artifact download:"
ls -al
cat submodule_name.txt
- name: Set SUBMODULE_NAME env var
run: |
Expand Down Expand Up @@ -206,11 +222,19 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --depth=1 --recursive --jobs 8
echo "Submodules directory listing after checkout:"
ls -al submodule_name/
# Download submodule_name artifact
- name: Download submodule_name artifact
uses: actions/download-artifact@v4
with:
name: submodule_name
- name: List files in the current directory
run: |
echo "Directory structure after artifact download:"
ls -al
cat submodule_name.txt
- name: Set SUBMODULE_NAME env var
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,19 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --depth=1 --recursive --jobs 8
echo "Submodules directory listing after checkout:"
ls -al submodule_name/
# Download submodule_name artifact
- name: Download submodule_name artifact
uses: actions/download-artifact@v4
with:
name: submodule_name
- name: List files in the current directory
run: |
echo "Directory structure after artifact download:"
ls -al
cat submodule_name.txt
- name: Set SUBMODULE_NAME env var
run: |
Expand Down

0 comments on commit a924d51

Please sign in to comment.