Skip to content

Commit

Permalink
Verify packages in workspace member directories
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
d-e-s-o authored and danielocfb committed Apr 12, 2023
1 parent 071fbba commit 8f6a1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
toolchain: stable
override: true
- name: Dry-run package creation
run: cargo package --no-verify
run: cargo package --package libbpf-rs --package libbpf-cargo --locked --no-verify
- name: Create git tag
env:
version: ${{ needs.version.outputs.version }}
Expand Down

0 comments on commit 8f6a1e9

Please sign in to comment.