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
6
6
on :
7
7
push :
8
8
branches : [ "main" ]
9
+ tags : ["v*"]
9
10
pull_request :
10
11
branches : [ "main" ]
11
12
35
36
- name : Pytest unit tests
36
37
run : |
37
38
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)
2
2
3
3
[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
4
4
[ ![ 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"]
8
8
build-backend = " setuptools.build_meta"
9
9
10
10
[project ]
11
- name = " durabletask"
11
+ name = " durabletask-dapr "
12
12
version = " 0.1.1-alpha.1"
13
13
description = " A Durable Task Client SDK for Python"
14
14
keywords = [
@@ -29,8 +29,8 @@ dependencies = [
29
29
]
30
30
31
31
[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"
34
34
35
35
[tool .setuptools .packages .find ]
36
36
include = [" durabletask" , " durabletask.*" ]
You can’t perform that action at this time.
0 commit comments