#github #action #developing #input #group #command #summary

github-actions

Utilities for developing custom GitHub Actions

2 releases

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

#8 in #developing

Download history 96/week @ 2024-11-14 259/week @ 2024-11-21 12/week @ 2024-11-28 1/week @ 2024-12-05 1/week @ 2024-12-12 1/week @ 2024-12-26

103 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

~240KB