gha 0.1.8

Utilities for developing custom GitHub Actions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use gha::{error, group, notice};

fn main() {
    group("Test 1", || notice!(title = "Test", "This is a test!"));
    if let Err(e) = group("Test 2", || {
        notice!(title = "Test 2", "Maybe error?");
        Err::<(), _>("There was an error!")
    }) {
        error!(title = "Test 2", "Error: {e}");
    }
}