File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- name : Build Test
1+ name : Build
22
33on :
44 workflow_dispatch :
9999 - name : Build ${{ matrix.project }}
100100 run : |
101101 echo "Building netdriver-${{ matrix.project }}..."
102- poetry build-project -P projects/${{ matrix.project }} --format wheel --clean
102+ poetry build-project -C projects/${{ matrix.project }} --format wheel
103103
104104 - name : Check package metadata
105105 run : |
Original file line number Diff line number Diff line change @@ -73,17 +73,17 @@ jobs:
7373 echo "Building $project..."
7474
7575 # Clean and build
76- poetry build-project -C "projects/$project" --format wheel --clean
76+ poetry build-project -C "projects/$project" --format wheel
7777
7878 # Publish
7979 if [ "$TARGET" = "testpypi" ]; then
8080 echo "Publishing $project to TestPyPI..."
8181 poetry config pypi-token.testpypi "$TESTPYPI_TOKEN"
82- poetry publish -P "projects/$project" -r testpypi --skip-existing
82+ poetry publish -C "projects/$project" -r testpypi --skip-existing
8383 else
8484 echo "Publishing $project to PyPI..."
8585 poetry config pypi-token.pypi "$PYPI_TOKEN"
86- poetry publish -P "projects/$project" --skip-existing
86+ poetry publish -C "projects/$project" --skip-existing
8787 fi
8888
8989 echo "✓ Successfully published $project to $TARGET"
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118118 - name : Build ${{ matrix.project }}
119119 run : |
120120 echo "Building netdriver-${{ matrix.project }}..."
121- poetry build-project -C projects/${{ matrix.project }} --format wheel --clean
121+ poetry build-project -C projects/${{ matrix.project }} --format wheel
122122
123123 - name : Check package metadata
124124 run : |
@@ -131,7 +131,7 @@ jobs:
131131 run : |
132132 poetry config pypi-token.pypi "$PYPI_TOKEN"
133133 echo "Publishing netdriver-${{ matrix.project }} to PyPI..."
134- poetry publish -P projects/${{ matrix.project }} --skip-existing
134+ poetry publish -C projects/${{ matrix.project }} --skip-existing
135135
136136 - name : Upload wheel to release
137137 uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments