2 releases

0.0.3 Nov 23, 2024
0.0.2 Nov 21, 2024
0.0.1 Nov 16, 2024

#380 in Debugging

Download history 85/week @ 2024-11-12 259/week @ 2024-11-19 23/week @ 2024-11-26

367 downloads per month

MIT license

35KB
849 lines

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.

Dependencies

~225KB