File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed
Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,19 @@ name: Publish Durable Task Scheduler to PyPI
33on :
44 push :
55 tags :
6- - ' v*' # Only run for tags starting with "v"
6+ - ' azuremanaged- v*' # Only run for tags starting with "azuremanaged- v"
77
88jobs :
9+ linter :
10+ steps :
11+ - name : Run linter
12+ run : echo "Success"
13+
14+ test :
15+ steps :
16+ - name : Run tests
17+ run : echo "Success"
18+
919 publish :
1020 runs-on : ubuntu-latest
1121
1424 uses : actions/checkout@v4
1525
1626 - name : Extract version from tag
17- run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV # Extract version from the tag
27+ run : echo "VERSION=${GITHUB_REF#refs/tags/azuremanaged- v}" >> $GITHUB_ENV # Extract version from the tag
1828
1929 - name : Set up Python
2030 uses : actions/setup-python@v5
@@ -27,19 +37,19 @@ jobs:
2737 pip install build twine
2838
2939 - name : Build package from directory durabletask-azuremanaged
40+ working-directory : ./durabletask-azuremanaged
3041 run : |
31- cd durabletask-azuremanaged
32- python -m build
42+ python -m build
3343
3444 - name : Check package
45+ working-directory : ./durabletask-azuremanaged
3546 run : |
36- cd durabletask-azuremanaged
3747 twine check dist/*
3848
3949 - name : Publish package to PyPI
4050 env :
4151 TWINE_USERNAME : __token__
42- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }} # Store your PyPI API token in GitHub Secrets
43- run : |
44- cd durabletask-azuremanaged
52+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN_AZUREMANAGED }} # Store your PyPI API token in GitHub Secrets
53+ working-directory : ./durabletask-azuremanaged
54+ run : |
4555 twine upload dist/*
You can’t perform that action at this time.
0 commit comments