Skip to content

Commit 111ed3a

Browse files
authored
PYTHON-5131 Migrate off of Ubuntu 20.04 GitHub Actions Runners (#282)
1 parent bda9f8c commit 111ed3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
# Github Actions doesn't support pairing matrix values together, let's improvise
3131
# https://github.com/github/feedback/discussions/7835#discussioncomment-1769026
3232
buildplat:
33-
- [ubuntu-20.04, manylinux_x86_64]
34-
- [ubuntu-20.04, manylinux_aarch64]
33+
- [ubuntu-24.04, manylinux_x86_64]
34+
- [ubuntu-24.04, manylinux_aarch64]
3535
- [macos-14, macosx_*]
3636
- [windows-2019, win_amd64]
3737
python: ["cp39", "cp310", "cp311", "cp312", "cp313"]
@@ -156,7 +156,7 @@ jobs:
156156
publish:
157157
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi
158158
needs: [collect_dist]
159-
if: github.repository_owner == 'mongodb-labs' || github.event_name == 'workflow_dispatch'
159+
if: (github.repository_owner == 'mongodb-labs' != github.event_name == 'pull_request') || github.event_name == 'workflow_dispatch'
160160
runs-on: ubuntu-latest
161161
environment: release
162162
permissions:

0 commit comments

Comments
 (0)