Skip to content

Commit

Permalink
replace sources.list
Browse files Browse the repository at this point in the history
  • Loading branch information
cgorenflo committed Sep 17, 2024
1 parent 427c9e9 commit 36ec264
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-ampd-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,21 @@ jobs:
if [ "$ARCH" == "arm64" ]
then
sudo dpkg --add-architecture arm64
# add the arm64 architecture to the sources.list
sudo tee -a /etc/apt/sources.list << EOF
sudo tee /etc/apt/sources.list > /dev/null << EOF
# AMD64 repositories
deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
# ARM64 repositories
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse
EOF
cat /etc/apt/sources.list
sudo apt-get update
fi
Expand Down

0 comments on commit 36ec264

Please sign in to comment.