Skip to content

Commit c363fa6

Browse files
chord: fix wrong workflows.
1 parent 471db07 commit c363fa6

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/QUICKSTART.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ unzip -l projects/agent/dist/netdriver_agent-*.whl
198198
### Release Process
199199

200200
1. Develop features on branches
201-
2. Test locally: `poetry build -P projects/agent`
201+
2. Test locally: `poetry build-project -C projects/agent`
202202
3. Create PR and verify build test passes
203203
4. Merge to master
204204
5. Test on TestPyPI

.github/workflows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ jobs:
250250
steps:
251251
- uses: actions/checkout@v4
252252
# Poetry and plugins are already installed!
253-
- run: poetry build -P projects/agent
253+
- run: poetry build-project -C projects/agent
254254
```
255255
256256
**Benefits of using Docker image**:

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
needs: test
7777
runs-on: ubuntu-latest
7878
container:
79-
image: ghcr.io/opensecflow/netdriver/python-poetry:3.12
79+
image: ghcr.io/opensecflow/netdriver/python-poetry
8080
permissions:
8181
contents: read
8282
packages: read
@@ -99,7 +99,7 @@ jobs:
9999
- name: Build ${{ matrix.project }}
100100
run: |
101101
echo "Building netdriver-${{ matrix.project }}..."
102-
poetry build -P projects/${{ matrix.project }} --format wheel --clean
102+
poetry build-project -P projects/${{ matrix.project }} --format wheel --clean
103103
104104
- name: Check package metadata
105105
run: |

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
echo "Building $project..."
7474
7575
# Clean and build
76-
poetry build -P "projects/$project" --format wheel --clean
76+
poetry build-project -C "projects/$project" --format wheel --clean
7777
7878
# Publish
7979
if [ "$TARGET" = "testpypi" ]; then

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- name: Build ${{ matrix.project }}
119119
run: |
120120
echo "Building netdriver-${{ matrix.project }}..."
121-
poetry build -P projects/${{ matrix.project }} --format wheel --clean
121+
poetry build-project -C projects/${{ matrix.project }} --format wheel --clean
122122
123123
- name: Check package metadata
124124
run: |

0 commit comments

Comments
 (0)