Skip to content

Commit c81b378

Browse files
authored
Merge pull request #200 from eEcoLiDAR/fix-pypi-release
Fix pypi release action
2 parents 446232e + 653fc87 commit c81b378

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v5
1212
- name: Set up Python
13-
uses: actions/setup-python@v1
13+
uses: actions/setup-python@v6
1414
with:
15-
python-version: 3.11
15+
python-version: 3.12
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
20-
python setup.py bdist_wheel
19+
python -m pip install build
20+
python -m build
2121
- name: Publish package
2222
uses: pypa/gh-action-pypi-publish@release/v1
2323
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- project version moved to `__version__.py`
1818
- project metadata described with pyproject.toml
1919
- update test GitHub action to stable Python version (3.11, 3.12, 3.13)
20+
- updated release GitHub action with new Python version & packages
2021

2122

2223
## Fixed

0 commit comments

Comments
 (0)