mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-08 18:05:42 +08:00
ci: Fix debian 10 setup
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -177,9 +177,10 @@ jobs:
|
||||
- name: Install requirements (old debian)
|
||||
run: |
|
||||
# In Debian, the old repositories is removed from the main mirrors some time after EoL.
|
||||
codename=$(grep -E '^VERSION_CODENAME=' /etc/os-release | cut -d= -f2)
|
||||
sed -i /etc/apt/sources.list -e 's/deb.debian.org/archive.debian.org/g' \
|
||||
-e 's|security.debian.org|archive.debian.org/|g' \
|
||||
-e '/stretch-updates/d'
|
||||
-e "/${codename}-updates/d"
|
||||
if: startsWith(matrix.container, 'debian:9') || startsWith(matrix.container, 'debian:10')
|
||||
- name: Install requirements (centos)
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user