Skip to content

Commit d3f1b19

Browse files
author
Zoon
committed
Update python-publish.yml
1 parent 58d2042 commit d3f1b19

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
19
name: Upload Python Package
210

311
on:
@@ -10,6 +18,7 @@ permissions:
1018

1119
jobs:
1220
deploy:
21+
1322
runs-on: ubuntu-latest
1423

1524
steps:
@@ -23,14 +32,10 @@ jobs:
2332
- name: Install dependencies
2433
run: |
2534
python -m pip install --upgrade pip
26-
pip install build setuptools setuptools_scm black
27-
28-
- name: Check code format with Black
29-
run: black --check .
35+
pip install build setuptools setuptools_scm
3036
3137
- name: Build package
3238
run: python -m build
33-
3439
- name: Publish package
3540
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3641
with:

0 commit comments

Comments
 (0)