Skip to content

Commit 16a040d

Browse files
author
koval
committed
Use ubuntu-latest in github actions.
1 parent 2dab3ef commit 16a040d

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/autorelease.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,22 @@ jobs:
88
autorelease:
99
if: github.event.pull_request.merged == true
1010

11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [ '3.8.16' ]
15+
1216
steps:
1317
- uses: actions/checkout@v3
1418

1519
- name: Set up python
1620
uses: actions/setup-python@v4
1721
with:
18-
python-version: 3.8
22+
python-version: ${{ matrix.python-version }}
1923
- name: Set up PDM
2024
uses: pdm-project/setup-pdm@v3
2125
with:
22-
python-version: 3.8
26+
python-version: ${{ matrix.python-version }}
2327
version: 2.20.1
2428

2529
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,26 @@ on:
66

77
jobs:
88
build-and-publish:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: [ '3.8.16' ]
13+
1014
permissions:
1115
id-token: write
16+
1217
steps:
1318
- uses: actions/checkout@v3
19+
20+
- name: Set up python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
1425
- name: Set up PDM
1526
uses: pdm-project/setup-pdm@v3
1627
with:
28+
python-version: ${{ matrix.python-version }}
1729
version: 2.20.1
1830

1931
- name: Publish package distributions to PyPI

0 commit comments

Comments
 (0)