Skip to content

Commit 514f543

Browse files
authored
fix: add changed cargo.lock on publish (#45)
1 parent 230fb39 commit 514f543

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ jobs:
7979
working-directory: rust
8080
run: cargo test
8181

82-
- name: Commit rust/deps if changed
82+
- name: Commit rust/deps and Cargo.lock if changed
8383
run: |
8484
git config user.name "github-actions[bot]"
8585
git config user.email "github-actions[bot]@users.noreply.github.com"
86-
git add rust/deps/
86+
git add rust/deps/ rust/Cargo.lock
8787
if git diff --cached --quiet; then
88-
echo "rust/deps is up to date"
88+
echo "rust/deps and Cargo.lock are up to date"
8989
else
9090
git commit -m "chore: update rust/deps vendored sources [skip ci]"
9191
git push

0 commit comments

Comments
 (0)