Skip to content

Commit 6d46583

Browse files
committed
Correct sed replacement when called in a bash file
1 parent 8a845ed commit 6d46583

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)