From e584eaa8b84378e2f2ab6f16870511a5452ce71b Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Mon, 21 Aug 2023 15:54:05 +0800 Subject: [PATCH] GitHubCI: make snap-pkg job use vanilla linux --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 14bdbb9b4..b7e24aed7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -614,11 +614,15 @@ jobs: - conventions runs-on: ubuntu-22.04 + container: + image: "ubuntu:22.04" steps: - uses: actions/checkout@v1 - name: Install snap tools run: | + which sudo 2>/dev/null || (apt update && apt install --yes sudo) sudo apt update + ./scripts/install_snapcraft.sh # hack to disable dotnet detection (can't use apt purge because github VM seems to have it installed in different way)