Skip to content

Commit

Permalink
Use toml-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetdsouza committed Jan 7, 2023
1 parent 21520d9 commit 3fff4d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
file: Cargo.toml
field: package.version

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 3fff4d7

Please sign in to comment.