Skip to content

Commit

Permalink
CI Release Job: use exact versions available on ubuntu-20.04
Browse files Browse the repository at this point in the history
The ubuntu-latest image maps to ubuntu-22.04, which does not have
Python 3.6 available.  The 20.04 based image does have all the
versions needed.

This pins the versions to the minor releases as specificed by the
image documentation.

Reference: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#python
Signed-off-by: Cleber Rosa <crosa@redhat.com>
  • Loading branch information
clebergnu committed Jan 19, 2023
1 parent 1491288 commit 369ed4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ jobs:

build-and-publish-eggs:
name: Build eggs and publish them
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: release
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11]
python-version: [3.6.15, 3.7.15, 3.8.16, 3.9.16, 3.10.9, 3.11.1]
fail-fast: false

steps:
Expand Down

0 comments on commit 369ed4c

Please sign in to comment.