Use sed instead of toml-action
This commit is contained in:
parent
e62ff15261
commit
dccd3c2ad9
|
|
@ -48,10 +48,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
uses: SebRollen/toml-action@v1.0.1
|
run: sed -En 's/^version = "(.*)"/value=\1/p' Cargo.toml >> $GITHUB_OUTPUT
|
||||||
with:
|
|
||||||
file: Cargo.toml
|
|
||||||
field: package.version
|
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue