mirror of
https://github.com/nilaoda/N_m3u8DL-RE.git
synced 2025-04-29 14:14:38 +02:00
fix ubuntu24 repos
This commit is contained in:
parent
848545a0bc
commit
0dc75fc1af
40
.github/workflows/build_latest.yml
vendored
40
.github/workflows/build_latest.yml
vendored
@ -118,6 +118,46 @@ jobs:
|
|||||||
needs: set-date
|
needs: set-date
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: setup deb822 repos
|
||||||
|
run: |
|
||||||
|
if [[ $ImageOS == "ubuntu24" ]]; then
|
||||||
|
cat <<EOF > deb822sources
|
||||||
|
Types: deb
|
||||||
|
URIs: http://archive.ubuntu.com/ubuntu/
|
||||||
|
Suites: noble
|
||||||
|
Components: main restricted universe
|
||||||
|
Architectures: amd64
|
||||||
|
|
||||||
|
Types: deb
|
||||||
|
URIs: http://security.ubuntu.com/ubuntu/
|
||||||
|
Suites: noble-security
|
||||||
|
Components: main restricted universe
|
||||||
|
Architectures: amd64
|
||||||
|
|
||||||
|
Types: deb
|
||||||
|
URIs: http://archive.ubuntu.com/ubuntu/
|
||||||
|
Suites: noble-updates
|
||||||
|
Components: main restricted universe
|
||||||
|
Architectures: amd64
|
||||||
|
|
||||||
|
Types: deb
|
||||||
|
URIs: http://azure.ports.ubuntu.com/ubuntu-ports/
|
||||||
|
Suites: noble
|
||||||
|
Components: main restricted multiverse universe
|
||||||
|
Architectures: arm64
|
||||||
|
|
||||||
|
Types: deb
|
||||||
|
URIs: http://azure.ports.ubuntu.com/ubuntu-ports/
|
||||||
|
Suites: noble-updates
|
||||||
|
Components: main restricted multiverse universe
|
||||||
|
Architectures: arm64
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sudo mv deb822sources /etc/apt/sources.list.d/ubuntu.sources
|
||||||
|
else
|
||||||
|
sudo mv config/crosscomp-sources.list /etc/apt/sources.list
|
||||||
|
fi
|
||||||
|
|
||||||
# https://learn.microsoft.com/zh-cn/dotnet/core/deploying/native-aot/cross-compile
|
# https://learn.microsoft.com/zh-cn/dotnet/core/deploying/native-aot/cross-compile
|
||||||
- run: |
|
- run: |
|
||||||
sudo dpkg --add-architecture arm64
|
sudo dpkg --add-architecture arm64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user