Skip to content

Commit c22b2ca

Browse files
Update publish.yml
1 parent d580da9 commit c22b2ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
id: version
3636
shell: bash
3737
run: |
38+
# Generate Cargo.lock for cargo pkgid
39+
cargo generate-lockfile
3840
VERSION=$(cargo pkgid | sed 's/.*#//')
3941
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
4042
echo "Publishing version: $VERSION"
@@ -60,4 +62,4 @@ jobs:
6062
echo "" >> $GITHUB_STEP_SUMMARY
6163
echo "- **Version**: ${{ steps.version.outputs.VERSION }}" >> $GITHUB_STEP_SUMMARY
6264
echo "- **Dry Run**: ${{ inputs.dry_run }}" >> $GITHUB_STEP_SUMMARY
63-
echo "- **Crate**: [ProcessGhosting](https://crates.io/crates/ProcessGhosting)" >> $GITHUB_STEP_SUMMARY
65+
echo "- **Crate**: [ProcessGhosting](https://crates.io/crates/ProcessGhosting)" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)