File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 57
57
- name : Install rust toolchains for host
58
58
run : |
59
59
# Detect the current version of rust
60
- version="$(grep 'DEFAULT_RUST_VERSION =' ./rust/private/common.bzl | sed 's/DEFAULT_RUST_VERSION = "//' | sed 's/"// ')"
60
+ version="$(grep 'DEFAULT_RUST_VERSION =' ./rust/private/common.bzl | grep -o '[[:digit:].]\+ ')"
61
61
rustup override set "${version}"
62
62
rustup update stable && rustup default stable
63
63
- name : Setup macos build tooling
99
99
path : ${{ github.workspace }}/crate_universe/target/artifacts
100
100
- name : Detect the current version
101
101
run : |
102
- version="$(grep 'VERSION =' ${{ github.workspace }}/version.bzl | sed 's/VERSION = "//' | sed 's/"// ')"
102
+ version="$(grep 'VERSION =' ${{ github.workspace }}/version.bzl | grep -o '[[:digit:].]\+ ')"
103
103
echo "RELEASE_VERSION=${version}" >> $GITHUB_ENV
104
104
- name : Create the rules archive
105
105
run : |
You can’t perform that action at this time.
0 commit comments