Skip to content

Commit f864880

Browse files
committed
🔧 fix CI.yml sdist error
PyO3/maturin-action#291
1 parent ed2f874 commit f864880

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424
jobs:
2525

2626
lint:
27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-22.04
2828
steps:
2929
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
3030
- uses: actions/setup-python@v4
@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup dependencies
5959
run: pip install --upgrade pip pytest
6060
- name: Set up Clang (Linux)
61-
if: matrix.os == 'ubuntu-latest'
61+
if: matrix.os == 'ubuntu-22.04'
6262
run: sudo apt-get install clang
6363
- name: Set up Clang (Cygwin)
6464
if: matrix.os == 'windows-latest'
@@ -372,7 +372,7 @@ jobs:
372372
needs:
373373
- test
374374
- lint
375-
runs-on: ubuntu-latest
375+
runs-on: ubuntu-22.04
376376
steps:
377377
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
378378
- name: Build sdist
@@ -388,7 +388,7 @@ jobs:
388388

389389
checksum:
390390
name: compute hashes
391-
runs-on: ubuntu-latest
391+
runs-on: ubuntu-22.04
392392
needs: [windows, macos, linux, sdist]
393393
if: "startsWith(github.ref, 'refs/tags/')"
394394
outputs:
@@ -423,7 +423,7 @@ jobs:
423423

424424
release:
425425
name: release
426-
runs-on: ubuntu-latest
426+
runs-on: ubuntu-22.04
427427
if: "startsWith(github.ref, 'refs/tags/')"
428428
needs: provenance
429429
environment: pypi

0 commit comments

Comments
 (0)