Skip to content

Commit 6cefff5

Browse files
committed
CI: fix artifacts actions
1 parent d318165 commit 6cefff5

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- name: Set up Python 3.9
23+
- name: Set up Python 3.11
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: 3.9
26+
python-version: 3.11
2727

2828
- name: Install dependencies
2929
run: |
@@ -87,19 +87,20 @@ jobs:
8787
run: |
8888
python -m build
8989
90-
- uses: actions/upload-artifact@v3
91-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
90+
- uses: actions/upload-artifact@v4
91+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
9292
with:
93-
path: dist
93+
name: dist
94+
path: dist/*
9495

9596
upload_to_pypi:
9697
needs: [build_sdist]
9798
runs-on: ubuntu-latest
9899

99100
steps:
100-
- uses: actions/download-artifact@v3
101+
- uses: actions/download-artifact@v4
101102
with:
102-
name: artifact
103+
name: dist
103104
path: dist
104105

105106
- name: Publish to Test PyPI

0 commit comments

Comments
 (0)