Skip to content

Commit acfdd46

Browse files
committed
WIP: try cd instead of working-directory
1 parent 0ed1933 commit acfdd46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: release
33
on:
44
release:
55
types: [created]
6+
on:
7+
pull_request:
68

79
jobs:
810
release-crate:
@@ -12,8 +14,7 @@ jobs:
1214
- uses: ./.github/actions/asdf
1315
with:
1416
rust: true
15-
- run: cargo publish --token '${{ secrets.CRATES_TOKEN }}'
16-
working-directory: bindings/rust
17+
- run: cd bindings/rust && cargo publish --token '${{ secrets.CRATES_TOKEN }}'
1718

1819
build-go-binaries:
1920
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)