File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
strategy :
17
17
matrix :
18
- package : ['locallab', 'client/python_client']
18
+ include :
19
+ - package : ' locallab'
20
+ path : ' .' # Root directory for locallab package
21
+ - package : ' python-client'
22
+ path : ' client/python_client' # Python client directory
19
23
20
24
steps :
21
25
- name : Checkout code
@@ -33,13 +37,13 @@ jobs:
33
37
34
38
- name : Build package
35
39
run : |
36
- cd ${{ matrix.package }}
40
+ cd ${{ matrix.path }}
37
41
python -m build --sdist --wheel
38
42
39
43
- name : Publish package to PyPI
40
44
uses : pypa/gh-action-pypi-publish@v1.4.2
41
45
with :
42
- packages_dir : ${{ matrix.package }}/dist/
46
+ packages_dir : ${{ matrix.path }}/dist/
43
47
user : __token__
44
48
password : ${{ secrets.PYPI_API_TOKEN }}
45
49
@@ -48,10 +52,10 @@ jobs:
48
52
env :
49
53
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
54
with :
51
- tag_name : v${{ github.run_number }}
52
- release_name : Release v${{ github.run_number }}
55
+ tag_name : ${{ matrix.package }}- v${{ github.run_number }}
56
+ release_name : ${{ matrix.package }} Release v${{ github.run_number }}
53
57
body : |
54
- Release v${{ github.run_number }}
58
+ ${{ matrix.package }} Release v${{ github.run_number }}
55
59
56
60
Changes in this release:
57
61
- See CHANGELOG.md for details
You can’t perform that action at this time.
0 commit comments