Skip to content

Commit 78a32b6

Browse files
committed
ci(github-actions): update legacy CI workflow to fetch phpseclib from GitHub for Composer v1 EOL workaround
1 parent f521c09 commit 78a32b6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci-legacy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222

2323
- name: Install dependencies
2424
run: |
25-
# Force phpseclib 2.x for older PHP versions
25+
# Force phpseclib 2.x for older PHP versions (fetch from GitHub for Composer v1 EOL workaround)
2626
if [[ "${{ matrix.php-version }}" < "7.2" ]]; then
27+
composer config repositories.phpseclib vcs https://github.com/phpseclib/phpseclib.git
2728
composer require phpseclib/phpseclib:^2.0 --no-update
2829
fi
2930
composer install --no-interaction --no-cache --prefer-dist

0 commit comments

Comments
 (0)