Skip to content

Commit 8e86bfb

Browse files
authored
update release.yml to support workspaces (#40)
1 parent 7d09b32 commit 8e86bfb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
defaults:
1111
run:
12-
working-directory: ./python/thirdweb-ai
12+
working-directory: ./python
1313
environment:
1414
name: pypi
1515
url: https://pypi.org/p/thirdweb-ai
@@ -30,22 +30,22 @@ jobs:
3030
with:
3131
enable-cache: true
3232
cache-dependency-glob: "uv.lock" # Update cache if uv.lock changes
33-
34-
- name: Build thirdweb-mcp
35-
run: uv build
33+
34+
- name: Build thirdweb-ai
35+
run: uv build --package thirdweb-ai
3636

3737
- name: Publish package
3838
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
3939
with:
4040
user: __token__
4141
password: ${{ secrets.PYPI_API_KEY }}
42-
packages-dir: python/thirdweb-ai/dist/
42+
packages-dir: dist/
4343

4444
build-and-publish-mcp:
4545
runs-on: ubuntu-latest
4646
defaults:
4747
run:
48-
working-directory: ./python/thirdweb-mcp
48+
working-directory: ./python
4949
environment:
5050
name: pypi
5151
url: https://pypi.org/p/thirdweb-mcp
@@ -66,13 +66,13 @@ jobs:
6666
with:
6767
enable-cache: true
6868
cache-dependency-glob: "uv.lock" # Update cache if uv.lock changes
69-
69+
7070
- name: Build thirdweb-mcp
71-
run: uv build
71+
run: uv build --package thirdweb-mcp
7272

7373
- name: Publish package
7474
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
7575
with:
7676
user: __token__
7777
password: ${{ secrets.PYPI_API_KEY }}
78-
packages-dir: python/thirdweb-mcp/dist/
78+
packages-dir: dist/

0 commit comments

Comments
 (0)