Skip to content

Commit

Permalink
ci: add pypi release
Browse files Browse the repository at this point in the history
  • Loading branch information
wey-gu committed Aug 20, 2024
1 parent 6e61810 commit cf1952d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Upload package to pypi

on:
release:
types:
- published

jobs:
ci:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
python-version: '3.x'
cache: true

- name: Build and publish
env:
PDM_PUBLISH_USERNAME: __token__
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: pdm publish
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ filter_files = true

[project]
name = "ng_nx"
version = "0.2.0"
version = "0.2.1"
description = "NebulaGraph NetowrkX Adaptor"
authors = [
{name = "Wey Gu", email = "[email protected]"},
Expand Down

0 comments on commit cf1952d

Please sign in to comment.