mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
chore(ci): remove broken Microsoft apt sources before apt-get update
GitHub-hosted Ubuntu 24.04 runners include Microsoft package repos (azure-cli, packages.microsoft.com/ubuntu/24.04/prod) in their default apt sources. These repos intermittently return 403 Forbidden, causing apt-get update to fail with exit code 100 even though none of our dependencies come from those repos. Remove the Microsoft source list files and their signing keys before running apt-get update so transient Microsoft CDN outages don't break unrelated CI jobs. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
co-authored by
Will Pfleger
parent
9a59e30817
commit
caa426a27a
@@ -114,6 +114,13 @@ jobs:
|
||||
with:
|
||||
workspaces: desktop/src-tauri
|
||||
save-if: ${{ github.event_name != 'pull_request' }}
|
||||
- name: Remove broken Microsoft apt sources
|
||||
run: |
|
||||
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list \
|
||||
/etc/apt/sources.list.d/azure-cli.list \
|
||||
/etc/apt/sources.list.d/packages.microsoft.com.list
|
||||
sudo rm -f /etc/apt/trusted.gpg.d/microsoft.gpg \
|
||||
/etc/apt/trusted.gpg.d/microsoft-prod.gpg
|
||||
- name: Install Tauri dependencies (Linux)
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
@@ -463,6 +463,13 @@ jobs:
|
||||
workspaces: desktop/src-tauri
|
||||
lookup-only: true
|
||||
|
||||
- name: Remove broken Microsoft apt sources
|
||||
run: |
|
||||
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list \
|
||||
/etc/apt/sources.list.d/azure-cli.list \
|
||||
/etc/apt/sources.list.d/packages.microsoft.com.list
|
||||
sudo rm -f /etc/apt/trusted.gpg.d/microsoft.gpg \
|
||||
/etc/apt/trusted.gpg.d/microsoft-prod.gpg
|
||||
- name: Install Tauri dependencies (Linux)
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
Reference in New Issue
Block a user