From b747a0cfc3d906ddc2cbbdd62bb7824e1cdd67eb Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Sun, 8 Jan 2023 04:57:13 +0530 Subject: [PATCH] Use toml-action --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ca6aae..8d0accf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,10 @@ jobs: - name: Get version id: get_version - run: sed -En 's/^version = "(.*)"/value=\1/p' Cargo.toml >> $GITHUB_OUTPUT + uses: SebRollen/toml-action@v1.0.2 + with: + file: Cargo.toml + field: package.version - name: Install Rust uses: actions-rs/toolchain@v1