Skip to content

Commit a1269fd

Browse files
committed
run release-pls from rust/main
1 parent eb04891 commit a1269fd

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/rust-release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,18 @@ jobs:
4242
- uses: actions/checkout@v4
4343
with:
4444
fetch-depth: 0
45-
- name: Run release-plz
46-
uses: release-plz/action@v0.5
45+
- name: Install release-plz
46+
uses: taiki-e/install-action@v2
4747
with:
48-
command: release-pr
49-
manifest_path: rust/main/Cargo.toml
50-
config: rust/main/release-plz.toml
48+
tool: release-plz
49+
- name: Run release-plz
50+
working-directory: ./rust/main
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
run: |
54+
git config user.name "github-actions[bot]"
55+
git config user.email "github-actions[bot]@users.noreply.github.com"
56+
release-plz release-pr --git-token "$GITHUB_TOKEN"
5357
- name: Summary
5458
if: always()
5559
run: |

0 commit comments

Comments
 (0)