File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ name: Build Validation
66on :
77 push :
88 branches : [ "main" ]
9+ tags : ["v*"]
910 pull_request :
1011 branches : [ "main" ]
1112
3536 - name : Pytest unit tests
3637 run : |
3738 pytest -m "not e2e" --verbose
39+ publish :
40+ needs : build
41+ if : startswith(github.ref, 'refs/tags/v')
42+ runs-on : ubuntu-latest
43+ env :
44+ TWINE_USERNAME : " __token__"
45+ steps :
46+ - uses : actions/checkout@v4
47+ - name : Set up Python 3.11
48+ uses : actions/setup-python@v5
49+ with :
50+ python-version : 3.11
51+ - name : Install dependencies
52+ run : |
53+ python -m pip install --upgrade pip
54+ pip install setuptools wheel twine
55+ - name : Build and publish Dapr Python SDK
56+ env :
57+ TWINE_PASSWORD : ${{ secrets.PYPI_UPLOAD_PASS }}
58+ run : |
59+ python -m build
60+ twine upload dist/*
Original file line number Diff line number Diff line change 1- # Durable Task Client SDK for Python
1+ # Durable Task Client SDK for Python (Dapr fork)
22
33[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
44[ ![ Build Validation] ( https://github.com/microsoft/durabletask-python/actions/workflows/pr-validation.yml/badge.svg )] ( https://github.com/microsoft/durabletask-python/actions/workflows/pr-validation.yml )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ requires = ["setuptools", "wheel"]
88build-backend = " setuptools.build_meta"
99
1010[project ]
11- name = " durabletask"
11+ name = " durabletask-dapr "
1212version = " 0.1.1-alpha.1"
1313description = " A Durable Task Client SDK for Python"
1414keywords = [
@@ -29,8 +29,8 @@ dependencies = [
2929]
3030
3131[project .urls ]
32- repository = " https://github.com/microsoft /durabletask-python"
33- changelog = " https://github.com/microsoft /durabletask-python/blob/main/CHANGELOG.md"
32+ repository = " https://github.com/dapr /durabletask-python"
33+ changelog = " https://github.com/dapr /durabletask-python/blob/main/CHANGELOG.md"
3434
3535[tool .setuptools .packages .find ]
3636include = [" durabletask" , " durabletask.*" ]
You can’t perform that action at this time.
0 commit comments