Skip to content

Commit dd59f39

Browse files
author
FirstUnicorn
committed
fix: collect only selected package distributions, not all
Made-with: Cursor
1 parent e29437a commit dd59f39

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/publish-testpypi.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,22 @@ jobs:
2121
- name: Install build tools
2222
run: pip install --upgrade build
2323

24-
- name: Build selected packages
24+
- name: Build and collect distributions
2525
run: |
26-
# Start with foundational packages for testing
2726
packages=(
2827
"python-technical-primitives"
2928
"python-app-exceptions"
3029
)
30+
mkdir -p dist-all
3131
3232
for pkg in "${packages[@]}"; do
3333
echo "Building $pkg..."
3434
cd "packages/$pkg"
3535
python -m build --wheel --sdist
36+
cp dist/* ../../dist-all/
3637
cd ../..
3738
done
3839
39-
- name: Collect distributions
40-
run: |
41-
mkdir -p dist-all
42-
find packages -name '*.whl' -o -name '*.tar.gz' | while read file; do
43-
cp "$file" dist-all/
44-
done
45-
4640
- name: Upload distributions
4741
uses: actions/upload-artifact@v4
4842
with:

0 commit comments

Comments
 (0)