We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ea5db5 commit beb443aCopy full SHA for beb443a
.github/workflows/check_dependencies.yml
@@ -48,4 +48,19 @@ jobs:
48
run: |
49
echo "Downloading packages"
50
.venv/bin/python3 -m pip download --dest files -r base.txt
51
- working-directory: WORK_DIR/repo_work
+ 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
65
+ echo "GitHub URLs:"
66
+ echo "${{ steps.extract.urls }}"
0 commit comments