Skip to content

Commit

Permalink
Fix sed usage
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 18, 2023
1 parent eed22ce commit cddb097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
LLVM_VERSION="$(rustc --version -v | sed -n 's/^LLVM version: \([^.]*\).*$/\1/;t print;q;print: p')"
LLVM_VERSION="$(rustc --version -v | sed -n 's/^LLVM version: \([^.]*\).*$/\1/;t print;b next;:print p;:next n')"
sudo ./llvm.sh "$LLVM_VERSION"
- name: Build
run: cargo build --features=${{ matrix.features }} -vv
Expand Down

0 comments on commit cddb097

Please sign in to comment.