File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 11name : Release Aenv SDK
22
33on :
4+ push :
5+ branches :
6+ - add_workflow
7+ paths :
8+ - ' .github/workflows/release_pypi_task.yml'
49 workflow_dispatch :
510
611jobs :
712 publish-to-pypi :
813 runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ working-directory : ./aenv
917
1018 steps :
1119 - name : Checkout code
@@ -14,11 +22,10 @@ jobs:
1422 - name : Set up Python
1523 uses : actions/setup-python@v4
1624 with :
17- python-version : ' 3.11 '
25+ python-version : ' 3.12 '
1826
1927 - name : Install build dependencies
2028 run : |
21- cd aenv
2229 python -m pip install --upgrade pip
2330 pip install build twine
2431
2835 - name : Publish to PyPI
2936 uses : pypa/gh-action-pypi-publish@release/v1
3037 with :
31- packages-dir : dist/
3238 password : ${{ secrets.PYPI_AUTH_PASSWORD }}
You can’t perform that action at this time.
0 commit comments