7 Commits

Author SHA1 Message Date
a21146f6b6 chore: switch to pdm from setuptools \4 2023-11-06 17:02:08 +08:00
e05b440933 chore: switch to pdm from setuptools 3 2023-11-06 16:54:51 +08:00
4358e8514e Update python-publish.yml 2023-11-06 16:50:32 +08:00
892dfc6cc0 Update python-publish.yml 2023-11-06 16:48:51 +08:00
4377c021d7 Update python-publish.yml 2023-11-06 16:48:09 +08:00
befe8bd087 Update python-publish.yml 2023-11-06 16:35:57 +08:00
02f334e5bb Update python-publish.yml 2023-11-06 16:30:58 +08:00
2 changed files with 11 additions and 8 deletions

View File

@@ -12,8 +12,8 @@ on:
release:
types: [published]
permissions:
contents: read
# permissions:
# contents: read
jobs:
# deploy:
@@ -34,19 +34,19 @@ jobs:
# run: python -m build
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
# with:
# user: ${{ secrets.PYPI_API_USER }}
# password: ${{ secrets.PYPI_API_PASSWORD }}
# with:
# user: ${{ secrets.PYPI_API_USER }}
# password: ${{ secrets.PYPI_API_PASSWORD }}
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI
run: pdm publish
run: pdm publish -u ${{ secrets.PYPI_API_USER }} -P ${{ secrets.PYPI_API_PASSWORD }}

View File

@@ -1,7 +1,7 @@
[project]
name = "namekoplus"
version = "0.5.0"
version = "0.5.1"
description = "A lightweight Python distributed microservice solution"
keywords = ["lightweight python distributed microservice solution"]
readme = "README.md"
@@ -27,6 +27,9 @@ dependencies = [
]
license = {text = "MIT"}
[pypi.url]
url = "https://upload.pypi.org/legacy/"
[project.urls]
Homepage = ""
"Source Code" = "https://github.com/Bryanthelol/namekoplus"