Skip to content

Commit

Permalink
ci: use yq to parsing toml
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Jul 29, 2023
1 parent c751522 commit d13a1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/set_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# since the caches seem to accumulate cruft over time;
# ref https://github.com/PRQL/prql/pull/2407

grep '^version =' Cargo.toml | tr -d ' "' >> $GITHUB_ENV
echo "version=$(yq '.workspace.package.version' Cargo.toml)" >>"$GITHUB_ENV"

0 comments on commit d13a1c8

Please sign in to comment.