diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-08 14:38:34 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-08 14:38:34 +0300 |
| commit | 19976e4e49d7704bf9857675dde138a00b825c0a (patch) | |
| tree | 67454d8d93fc50d59808c3642d92845b6e2fa87f /.github | |
| parent | ac32197115e1f644614ff89b58435db57356f50b (diff) | |
ci: avoid azure ubuntu mirrors in release builds
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-artifacts-manual.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/build-artifacts-manual.yml b/.github/workflows/build-artifacts-manual.yml index 0517cb30..7faff7f5 100644 --- a/.github/workflows/build-artifacts-manual.yml +++ b/.github/workflows/build-artifacts-manual.yml @@ -68,6 +68,14 @@ jobs: with: version: 0.15.2 + - name: Prefer official Ubuntu mirrors over Azure + run: | + if [ -f /etc/apt/apt-mirrors.txt ]; then + sudo sed -i '/azure.archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt + echo "Using apt mirrors:" + cat /etc/apt/apt-mirrors.txt + fi + - name: Install Linux build tools run: sudo apt-get update && sudo apt-get install -y cmake ninja-build musl-tools gcc-aarch64-linux-gnu crossbuild-essential-arm64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f08fe274..4d596b85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,6 +64,15 @@ jobs: with: version: 0.15.2 + - name: Prefer official Ubuntu mirrors over Azure + if: runner.os == 'Linux' + run: | + if [ -f /etc/apt/apt-mirrors.txt ]; then + sudo sed -i '/azure.archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt + echo "Using apt mirrors:" + cat /etc/apt/apt-mirrors.txt + fi + - name: Install Linux build tools if: runner.os == 'Linux' run: sudo apt-get update && sudo apt-get install -y cmake ninja-build musl-tools gcc-aarch64-linux-gnu crossbuild-essential-arm64 |
