https://github.com/breadrock1/rust-project-version
An GitHub Action for getting rust project version from Cargo.toml manifest file
https://github.com/breadrock1/rust-project-version
Last synced: 2 months ago
JSON representation
An GitHub Action for getting rust project version from Cargo.toml manifest file
- Host: GitHub
- URL: https://github.com/breadrock1/rust-project-version
- Owner: breadrock1
- License: mit
- Created: 2025-01-07T19:07:41.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-08T12:31:47.000Z (over 1 year ago)
- Last Synced: 2025-03-23T03:33:07.267Z (over 1 year ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust project version
Current GitHub actions provides ability to get rust project version. This action useful to create release and upload artifacts.
# Usage
See [action.yml](action.yml)
```yaml
name: Get project version example
on: [pull_request, issues]
jobs:
runs-on: ubuntu-latest
outputs:
version_output: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/rust-project-version@master
with:
manifest-path: example/hello-world/Cargo.toml
```
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)