Use sed instead of toml-action

This commit is contained in:
Ajeet D'Souza 2022-10-29 21:16:44 +05:30
parent e62ff15261
commit dccd3c2ad9
1 changed files with 1 additions and 4 deletions

View File

@ -48,10 +48,7 @@ jobs:
- name: Get version
id: get_version
uses: SebRollen/toml-action@v1.0.1
with:
file: Cargo.toml
field: package.version
run: sed -En 's/^version = "(.*)"/value=\1/p' Cargo.toml >> $GITHUB_OUTPUT
- name: Install Rust
uses: actions-rs/toolchain@v1