Skip to content

Commit 2441e8e

Browse files
bors[bot]pksunkara
andauthored
Merge #5873
5873: Correct sed replacement when called in a bash file r=matklad a=pksunkara There's so much trial and error regarding shells and stuff I needed to do to get this correctly working on github runner. Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2 parents 34754bd + 6d46583 commit 2441e8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
publish:
1414
name: publish
15-
runs-on: ubuntu-16.04
15+
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v2
@@ -41,5 +41,5 @@ jobs:
4141
git config --global user.name "Github Action"
4242
rm Cargo.lock
4343
cargo workspaces rename ra_ap_%n
44-
sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' crates/rust-analyzer/**/*.rs
44+
find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} +
4545
cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH

0 commit comments

Comments
 (0)