Skip to content

Commit 6a4fbbf

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

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 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,6 +15,10 @@ jobs:
1215
- uses: ./.github/actions/asdf
1316
with:
1417
rust: true
18+
- run: file ../../README.md
19+
working-directory: bindings/rust
20+
- run: readlink README.md
21+
working-directory: bindings/rust
1522
- run: cargo publish --token '${{ secrets.CRATES_TOKEN }}'
1623
working-directory: bindings/rust
1724

bindings/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = """
77
SCIP (pronunciation: "skip") is a language-agnostic protocol for indexing source code, which can be used to power code navigation functionality such as Go to definition, Find references, and Find implementations.
88
"""
99
repository = "https://github.com/sourcegraph/scip"
10-
readme = "Readme.md"
10+
readme = "../../README.md"
1111

1212
# We need >= 1.60.0 because the generated code uses
1313
# https://doc.rust-lang.org/std/vec/struct.Vec.html#method.spare_capacity_mut

bindings/rust/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../Readme.md
1+
../../README.md

0 commit comments

Comments
 (0)