From 6c3a5f91e1ff371515cbd3f2fff37f1fafdd3b74 Mon Sep 17 00:00:00 2001 From: Blaine Jester Date: Tue, 18 Jul 2023 12:22:24 -0700 Subject: [PATCH 1/2] Update publishing workflow --- .github/workflows/python-publish.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index c60021e9..786a58e7 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -14,15 +14,11 @@ on: jobs: deploy: - - runs-on: ubuntu-18.04 - + runs-on: ubuntu-20.04 + container: + image: python:2.7.18-buster steps: - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: 2.7 - name: Install dependencies run: | python -m pip install --upgrade pip From 39621218e0b75fe93b25115f1b000f81370507c4 Mon Sep 17 00:00:00 2001 From: Blaine Jester Date: Tue, 18 Jul 2023 12:39:18 -0700 Subject: [PATCH 2/2] Use python3 instead --- .github/workflows/python-publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 786a58e7..6163b354 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -14,11 +14,13 @@ on: jobs: deploy: - runs-on: ubuntu-20.04 - container: - image: python:2.7.18-buster + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip