Skip to content
play

GitHub Action

Rust config reader

v1.0.3 Latest version

Rust config reader

play

Rust config reader

Extract important data from Cargo.toml

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Rust config reader

uses: wowjeeez/[email protected]

Learn more about this action in wowjeeez/rust-conf-read

Choose a version

Rust configuration reader action

This action will read the name, version and the latest built crate name. (THIS IS CALCULATED FROM THE NAME AND VERSION, NOT FROM AN ACTUAL DIR READ)

Inputs

  • path: (Optional, defaults to Cargo.toml) The path to Cargo.toml

Outputs

  • version: The crate version
  • lastBuiltCrateName: The last built crate version ({name}-{version}.crate)
  • crateName: The name of the crate