Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
knotekt authored Jan 14, 2025
1 parent 6df361a commit c31d073
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,24 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Fix apt repositories
- name: Configure ARM64 apt sources
run: |
sudo sed -i 's|http://archive.ubuntu.com|http://ports.ubuntu.com|g' /etc/apt/sources.list
sudo sed -i 's|http://security.ubuntu.com|http://ports.ubuntu.com|g' /etc/apt/sources.list
sudo rm -rf /var/lib/apt/lists/*
sudo apt update -o Acquire::AllowReleaseInfoChange=true
echo "Creating ubuntu.sources for ${matrix.arch}"
echo 'Types: deb' | sudo tee /etc/apt/sources.list.d/ubuntu.sources
echo 'URIs: http://ports.ubuntu.com/ubuntu-ports/' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'Suites: noble noble-updates noble-backports' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'Components: main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo '' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'Types: deb' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'URIs: http://ports.ubuntu.com/ubuntu-ports/' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'Suites: noble-security' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'Components: main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
echo 'Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg' | sudo tee -a /etc/apt/sources.list.d/ubuntu.sources
- name: Update apt cache
run: |
sudo apt update -o Acquire::AllowReleaseInfoChange=true -y
- name: Install dependencies
run: |
Expand Down

0 comments on commit c31d073

Please sign in to comment.