mirror of
https://github.com/Hopiu/zoxide.git
synced 2026-05-20 13:01:55 +00:00
Use toml-action
This commit is contained in:
parent
21520d9bbf
commit
b747a0cfc3
1 changed files with 4 additions and 1 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -44,7 +44,10 @@ jobs:
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: 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
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue