Skip to content

Commit 8e3018f

Browse files
committed
fix(release): publish all pypi packages at once
Signed-off-by: Radek Ježek <[email protected]>
1 parent 1eccc5e commit 8e3018f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,8 @@ jobs:
129129
- run: echo '${{ secrets.GITHUB_TOKEN }}' | helm registry login --username '${{ github.actor }}' --password-stdin ghcr.io
130130
- run: helm push ./helm/dist/beeai-platform-*.tgz 'oci://ghcr.io/${{ github.repository }}/beeai-platform-chart'
131131

132-
- run: mise run beeai-cli:build
132+
- run: mise run beeai-cli:build && mkdir -p packages && cp -R apps/beeai-cli/dist/* packages
133+
- run: mise run beeai-sdk:build && mkdir -p packages && cp -R apps/beeai-sdk/dist/* packages
133134
- uses: pypa/gh-action-pypi-publish@release/v1
134135
with:
135-
packages-dir: apps/beeai-cli/dist
136-
- run: mise run beeai-sdk:build
137-
- uses: pypa/gh-action-pypi-publish@release/v1
138-
with:
139-
packages-dir: apps/beeai-sdk/dist
136+
packages-dir: packages

0 commit comments

Comments
 (0)