Skip to content

Commit beb443a

Browse files
committed
chore: testing ci check
1 parent 8ea5db5 commit beb443a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/check_dependencies.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,19 @@ jobs:
4848
run: |
4949
echo "Downloading packages"
5050
.venv/bin/python3 -m pip download --dest files -r base.txt
51-
working-directory: WORK_DIR/repo_work
51+
working-directory: WORK_DIR/repo_work
52+
53+
- name: Extract GitHub URLs from base.txt
54+
run: |
55+
urls=()
56+
while IFS= read -r line; do
57+
if [[ $line =~ (https://github.com[^@ #]*(\.git)?) ]]; then
58+
urls+=("${BASH_REMATCH[0]}")
59+
fi
60+
done < base.txt
61+
echo "::set-output name=github_urls::${urls[*]}"
62+
63+
- name: Display GitHub URLs
64+
run: |
65+
echo "GitHub URLs:"
66+
echo "${{ steps.extract.urls }}"

0 commit comments

Comments
 (0)