mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-08-18 15:33:33 +08:00
fix(action).玲珑是什么东西
This commit is contained in:
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -650,9 +650,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Linglong build tools
|
- name: Install Linglong build tools
|
||||||
run: |
|
run: |
|
||||||
# Add Linglong repository for Ubuntu 24.04
|
# Add Linglong repository for Ubuntu 24.04 (deepin OBS path is case-sensitive: Ubuntu_24.04)
|
||||||
echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/xUbuntu_24.04/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list
|
echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/Ubuntu_24.04/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list
|
||||||
sudo apt-get update
|
|
||||||
|
# Update may fail if the Linglong mirror is unreachable; that must not fail the whole
|
||||||
|
# Linux release. Fall through to the graceful-skip path below.
|
||||||
|
sudo apt-get update || {
|
||||||
|
echo "::warning::apt-get update failed (Linglong repo unreachable), skipping Linglong build"
|
||||||
|
echo "LINGLONG_AVAILABLE=false" >> $GITHUB_ENV
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
# Install Linglong builder and CLI
|
# Install Linglong builder and CLI
|
||||||
sudo apt-get install -y linglong-bin linglong-builder || {
|
sudo apt-get install -y linglong-bin linglong-builder || {
|
||||||
|
|||||||
Reference in New Issue
Block a user