Skip to content

Commit 8f6a1e9

Browse files
d-e-s-odanielocfb
authored andcommitted
Verify packages in workspace member directories
Running cargo --no-verify in the root of the workspace checks packaging of all workspace members, including the examples. We do not currently (and have no intention to) publish the examples, however. As such, let's verify only the members that we intend to publish. Also make use of Cargo's --package argument for the package and publish sub-commands we use, as that minimizes hard coded paths. Signed-off-by: Daniel Müller <[email protected]>
1 parent 071fbba commit 8f6a1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
toolchain: stable
4040
override: true
4141
- name: Dry-run package creation
42-
run: cargo package --no-verify
42+
run: cargo package --package libbpf-rs --package libbpf-cargo --locked --no-verify
4343
- name: Create git tag
4444
env:
4545
version: ${{ needs.version.outputs.version }}

0 commit comments

Comments
 (0)