Skip to content

Commit 7d6eaec

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: release
33
on:
44
release:
55
types: [created]
6+
push:
7+
branches:
8+
- owickstrom/cargo-publish-failure
69

710
jobs:
811
release-crate:
@@ -12,8 +15,7 @@ jobs:
1215
- uses: ./.github/actions/asdf
1316
with:
1417
rust: true
15-
- run: cargo publish --token '${{ secrets.CRATES_TOKEN }}'
16-
working-directory: bindings/rust
18+
- run: cd bindings/rust && cargo publish --token '${{ secrets.CRATES_TOKEN }}'
1719

1820
build-go-binaries:
1921
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)