From dccd3c2ad997473580aa39c1a2bae57ea7ea7a1c Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Sat, 29 Oct 2022 21:16:44 +0530 Subject: [PATCH] Use sed instead of toml-action --- .github/workflows/release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9536a14..7a1e63a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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