You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/python-publish.yml
+5-13Lines changed: 5 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,13 @@ on:
14
14
jobs:
15
15
tests:
16
16
if: startsWith(github.ref, 'refs/tags/v')
17
-
runs-on: ${{ matrix.os }}
18
-
strategy:
19
-
matrix:
20
-
python-version: ["3.13"]
21
-
os: [ubuntu-latest]
17
+
runs-on: ubuntu-latest
22
18
steps:
23
19
- uses: actions/checkout@v5
24
-
- name: Set up Python ${{ matrix.python-version }}
20
+
- name: Set up Python
25
21
uses: actions/setup-python@v6
26
22
with:
27
-
python-version: ${{ matrix.python-version }}
23
+
python-version: 3.14
28
24
- name: Install tox
29
25
run: |
30
26
python -m pip install --upgrade pip
@@ -35,11 +31,7 @@ jobs:
35
31
36
32
build-n-publish:
37
33
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
38
-
runs-on: ${{ matrix.os }}
39
-
strategy:
40
-
matrix:
41
-
python-version: [ "3.12" ]
42
-
os: [ ubuntu-latest ]
34
+
runs-on: ubuntu-latest
43
35
# Specifying a GitHub environment, # Specifying a GitHub environment, which is strongly recommended by PyPI: https://docs.pypi.org/trusted-publishers/adding-a-publisher/
44
36
# you have to create an environment in your repository settings and add the environment name here
0 commit comments