Skip to content

Commit b27fce6

Browse files
committed
update github release action
1 parent 68165ef commit b27fce6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release_to_pypi.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish xyzservices to PyPI / GitHub
1+
name: Publish geodatasets to PyPI / GitHub
22

33
on:
44
push:
@@ -7,12 +7,12 @@ on:
77

88
jobs:
99
build-n-publish:
10-
name: Build and publish xyzservices to PyPI
10+
name: Build and publish geodatasets to PyPI
1111
runs-on: ubuntu-latest
1212

1313
steps:
1414
- name: Checkout source
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616

1717
- name: Set up Python
1818
uses: actions/setup-python@v2
@@ -21,9 +21,8 @@ jobs:
2121

2222
- name: Build a binary wheel and a source tarball
2323
run: |
24-
python -m pip install --upgrade pip
25-
pip install setuptools wheel
26-
python setup.py sdist bdist_wheel
24+
python -m pip install --upgrade build
25+
python -m build
2726
2827
- name: Publish distribution to PyPI
2928
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)