6 Commits

Author SHA1 Message Date
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 8 additions and 8 deletions

View File

@@ -12,8 +12,8 @@ on:
release: release:
types: [published] types: [published]
permissions: # permissions:
contents: read # contents: read
jobs: jobs:
# deploy: # deploy:
@@ -34,19 +34,19 @@ jobs:
# run: python -m build # run: python -m build
# - name: Publish package # - name: Publish package
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 # uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
# with: # with:
# user: ${{ secrets.PYPI_API_USER }} # user: ${{ secrets.PYPI_API_USER }}
# password: ${{ secrets.PYPI_API_PASSWORD }} # password: ${{ secrets.PYPI_API_PASSWORD }}
pypi-publish: pypi-publish:
name: upload release to PyPI name: upload release to PyPI
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
id-token: write contents: read
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3 - uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI - 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] [project]
name = "namekoplus" name = "namekoplus"
version = "0.5.0" version = "0.5.1"
description = "A lightweight Python distributed microservice solution" description = "A lightweight Python distributed microservice solution"
keywords = ["lightweight python distributed microservice solution"] keywords = ["lightweight python distributed microservice solution"]
readme = "README.md" readme = "README.md"