Skip to content

Commit 8802063

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

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

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

711
jobs:
812
release-crate:
@@ -12,8 +16,7 @@ jobs:
1216
- uses: ./.github/actions/asdf
1317
with:
1418
rust: true
15-
- run: cargo publish --token '${{ secrets.CRATES_TOKEN }}'
16-
working-directory: bindings/rust
19+
- run: cd bindings/rust && cargo publish --token '${{ secrets.CRATES_TOKEN }}'
1720

1821
build-go-binaries:
1922
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)