github-actions

Crates.iogithub-actions
lib.rsgithub-actions
version0.0.3
sourcesrc
created_at2024-11-16 21:28:41.432165
updated_at2024-11-23 17:15:59.812762
descriptionUtilities for developing custom GitHub Actions
homepage
repositoryhttps://github.com/daxartio/github-actions
max_upload_size
id1450680
size45,749
Danil Akhtarov (daxartio)

documentation

README

Github Actions

Crates.io Docs.rs CI Coverage Status

A Rust crate for building GitHub Actions with ease, offering utilities to handle inputs, outputs, logging, and more.

Features

  • Parse inputs (get_input, get_bool_input, get_multiline_input).
  • Manage GitHub Actions state (get_state, save_state).
  • Log messages with various levels (info!, debug!, warn!, error!, notice!).
  • Handle sensitive data with set_secret.
  • Manage environment variables with export_variable and add_path.
  • Control GitHub Actions commands (stop_commands!).
  • Group logs for better readability (group!).
  • Adding a job summary (append_job_summary, overwrite_job_summary, remove_job_summary)

Installation

cargo add github-actions

Documentation

For more detailed information, visit the API Documentation.


This crate simplifies interactions with GitHub Actions, enabling quick and clean integration into your Rust-based workflows.

Commit count: 5

cargo fmt