Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3337140

Browse files
committedJan 26, 2025·
Fix architectures for new Ubuntu
1 parent b6b66c0 commit 3337140

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed
 

‎.github/workflows/release.yaml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -178,24 +178,27 @@ jobs:
178178
uses: Swatinem/rust-cache@v2
179179
- name: Add new apt sources that support armhf
180180
run: |
181-
sudo tee /etc/apt/sources.list << EOF
182-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted
183-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
184-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy universe
185-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates universe
186-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy multiverse
187-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
188-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
189-
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security main restricted
190-
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security universe
191-
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security multiverse
192-
deb [arch=armhf] http://ports.ubuntu.com/ jammy main restricted
193-
deb [arch=armhf] http://ports.ubuntu.com/ jammy-updates main restricted
194-
deb [arch=armhf] http://ports.ubuntu.com/ jammy universe
195-
deb [arch=armhf] http://ports.ubuntu.com/ jammy-updates universe
196-
deb [arch=armhf] http://ports.ubuntu.com/ jammy multiverse
197-
deb [arch=armhf] http://ports.ubuntu.com/ jammy-updates multiverse
198-
deb [arch=armhf] http://ports.ubuntu.com/ jammy-backports main restricted universe multiverse
181+
sudo tee /etc/apt/sources.list.d/ubuntu.sources << EOF
182+
Types: deb
183+
URIs: http://archive.ubuntu.com/ubuntu/
184+
Suites: noble noble-updates noble-backports
185+
Components: main universe restricted multiverse
186+
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
187+
Architectures: amd64
188+
189+
Types: deb
190+
URIs: http://security.ubuntu.com/ubuntu/
191+
Suites: noble-security
192+
Components: main universe restricted multiverse
193+
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
194+
Architectures: amd64
195+
196+
Types: deb
197+
URIs: http://ports.ubuntu.com/
198+
Suites: noble noble-updates noble-backports
199+
Components: main universe restricted multiverse
200+
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
201+
Architectures: armhf
199202
EOF
200203
- name: Enable ARM cross-build capabilities
201204
run: sudo dpkg --add-architecture armhf

0 commit comments

Comments
 (0)
Please sign in to comment.