Skip to content

Commit 44d9a5f

Browse files
committed
Fix CI
1 parent e18e8b8 commit 44d9a5f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/build-native-debian.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ set -ex
44

55
cd "$(dirname "$(dirname "$0")")"
66

7+
DEBIAN_VERSION=$(grep '^VERSION_ID=' /etc/os-release | cut -d'"' -f2)
8+
if [[ "$DEBIAN_VERSION" == "10" ]]; then
9+
echo "deb http://archive.debian.org/debian buster main" > /etc/apt/sources.list
10+
echo "deb http://archive.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list
11+
echo "deb http://archive.debian.org/debian buster-updates main" >> /etc/apt/sources.list
12+
fi
13+
714
# Add stretch for Java 8
815
#cat <<END > /etc/apt/sources.list.d/stretch.list
916
#deb http://deb.debian.org/debian stretch main

0 commit comments

Comments
 (0)