Skip to content

Commit 60cfddc

Browse files
committed
Build packages with fastapi feature enabled
1 parent 812f385 commit 60cfddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish_binaries.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Add target
3838
run: rustup target add ${{ matrix.target }}
3939
- name: Build
40-
run: cargo build --release --locked --target ${{ matrix.target }}
40+
run: cargo build --release --locked --target ${{ matrix.target }} --all-features
4141
- name: Upload binaries to release
4242
uses: svenstaro/upload-release-action@v2
4343
with:
@@ -70,7 +70,7 @@ jobs:
7070
- name: Create package
7171
id: create-deb
7272
run: |
73-
cargo deb --deb-revision="" # --deb-revision="" removes the -1 post tag
73+
cargo deb --locked --all-features --deb-revision="" # --deb-revision="" removes the -1 post tag
7474
cd target/debian
7575
echo "DEB_FILE=$(find python-project-generator*_*.deb)" >> "$GITHUB_OUTPUT"
7676
- name: Upload deb package to release

0 commit comments

Comments
 (0)