Skip to content

Commit 7a36dbd

Browse files
committed
fix(ci): building
1 parent ef86e6b commit 7a36dbd

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,21 @@ jobs:
8989
9090
- name: Build packages
9191
run: |
92-
# Build in dependency order
92+
# Build in dependency order using --package flag
9393
echo "Building myfy-core..."
94-
cd packages/myfy-core && uv build && cd ../..
94+
uv build --package myfy-core --out-dir packages/myfy-core/dist
9595
9696
echo "Building myfy-web..."
97-
cd packages/myfy-web && uv build && cd ../..
97+
uv build --package myfy-web --out-dir packages/myfy-web/dist
9898
9999
echo "Building myfy-cli..."
100-
cd packages/myfy-cli && uv build && cd ../..
100+
uv build --package myfy-cli --out-dir packages/myfy-cli/dist
101101
102102
echo "Building myfy-frontend..."
103-
cd packages/myfy-frontend && uv build && cd ../..
103+
uv build --package myfy-frontend --out-dir packages/myfy-frontend/dist
104104
105105
echo "Building myfy meta-package..."
106-
cd packages/myfy && uv build && cd ../..
106+
uv build --package myfy --out-dir packages/myfy/dist
107107
108108
echo "All packages built successfully"
109109

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,21 @@ jobs:
106106
107107
- name: Build packages
108108
run: |
109-
# Build in dependency order
109+
# Build in dependency order using --package flag
110110
echo "Building myfy-core..."
111-
cd packages/myfy-core && uv build && cd ../..
111+
uv build --package myfy-core --out-dir packages/myfy-core/dist
112112
113113
echo "Building myfy-web..."
114-
cd packages/myfy-web && uv build && cd ../..
114+
uv build --package myfy-web --out-dir packages/myfy-web/dist
115115
116116
echo "Building myfy-cli..."
117-
cd packages/myfy-cli && uv build && cd ../..
117+
uv build --package myfy-cli --out-dir packages/myfy-cli/dist
118118
119119
echo "Building myfy-frontend..."
120-
cd packages/myfy-frontend && uv build && cd ../..
120+
uv build --package myfy-frontend --out-dir packages/myfy-frontend/dist
121121
122122
echo "Building myfy meta-package..."
123-
cd packages/myfy && uv build && cd ../..
123+
uv build --package myfy --out-dir packages/myfy/dist
124124
125125
echo "All packages built successfully"
126126

0 commit comments

Comments
 (0)