Skip to content

Commit

Permalink
Pin ubuntu to 18.04 for publishing jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmk135 committed Mar 6, 2021
1 parent d4ebb1b commit ed0b93b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

tests:
name: Run tests
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -22,7 +22,7 @@ jobs:

linters:
name: Run linters
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
matrix:
toxenv: [flake8, pydocstyle, mypy, pylint]
Expand All @@ -39,7 +39,7 @@ jobs:
build-sdist:
name: Build source tarball
needs: [tests, linters]
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -56,7 +56,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-18.04, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -75,7 +75,7 @@ jobs:
build-wheels-linux-aarch64:
name: Build wheels (ubuntu-latest-aarch64)
needs: [tests, linters]
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
Expand All @@ -92,7 +92,7 @@ jobs:
publish:
name: Publish on PyPI
needs: [build-sdist, build-wheels, build-wheels-linux-aarch64]
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/download-artifact@v2
with:
Expand All @@ -106,7 +106,7 @@ jobs:
publish-docs:
name: Publish docs
needs: [publish]
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down

0 comments on commit ed0b93b

Please sign in to comment.