From 40ee7d1c81ea98769ccfa5c7f2f69a3e653991f4 Mon Sep 17 00:00:00 2001 From: Serapheim Dimitropoulos Date: Mon, 12 Apr 2021 15:37:52 -0700 Subject: [PATCH] Fix Main Workflow --- .github/workflows/main.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9fb07d8c..4500cb3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,12 +34,7 @@ jobs: # dev-build-and-test-run: name: Developer Build and Testing - # - # Unlike the debian package build job, we prefer - # ubuntu-latest for developer builds as they are - # more likely to upgrade first. - # - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 strategy: matrix: python-version: [3.6, 3.7, 3.8] @@ -56,8 +51,10 @@ jobs: python-version: ${{ matrix.python-version }} - name: (Debug) Print Python Version run: python3 --version + - name: Update apt cache to get all packages + run: sudo apt update - name: Install the correct Python developer files - run: sudo apt-get install -y python${{ matrix.python-version }}-dev + run: sudo apt install python${{ matrix.python-version }}-dev - name: Install dependencies run: ./.github/scripts/install-deps.sh - name: Perform Developer Build