Skip to content

Commit 8e0ea95

Browse files
authored
Merge pull request #17 from sdimitro/fix_actions_0
Fix Main Workflow
2 parents 8ea3781 + 40ee7d1 commit 8e0ea95

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,7 @@ jobs:
3434
#
3535
dev-build-and-test-run:
3636
name: Developer Build and Testing
37-
#
38-
# Unlike the debian package build job, we prefer
39-
# ubuntu-latest for developer builds as they are
40-
# more likely to upgrade first.
41-
#
42-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-18.04
4338
strategy:
4439
matrix:
4540
python-version: [3.6, 3.7, 3.8]
@@ -56,8 +51,10 @@ jobs:
5651
python-version: ${{ matrix.python-version }}
5752
- name: (Debug) Print Python Version
5853
run: python3 --version
54+
- name: Update apt cache to get all packages
55+
run: sudo apt update
5956
- name: Install the correct Python developer files
60-
run: sudo apt-get install -y python${{ matrix.python-version }}-dev
57+
run: sudo apt install python${{ matrix.python-version }}-dev
6158
- name: Install dependencies
6259
run: ./.github/scripts/install-deps.sh
6360
- name: Perform Developer Build

0 commit comments

Comments
 (0)