mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-10 14:40:32 +00: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)
|
- name: Install requirements (old debian)
|
||||||
run: |
|
run: |
|
||||||
# In Debian, the old repositories is removed from the main mirrors some time after EoL.
|
# 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' \
|
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 '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')
|
if: startsWith(matrix.container, 'debian:9') || startsWith(matrix.container, 'debian:10')
|
||||||
- name: Install requirements (centos)
|
- name: Install requirements (centos)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user