actions-toolkit-sys 0.1.0

Raw bindings to the GitHub actions toolkit API for projects using wasm-bindgen.
1
2
3
4
5
6
7
8
9
10
11
use js_sys::{JsString, Object};
use wasm_bindgen::prelude::*;

#[wasm_bindgen(module = "@actions/core")]
extern {
    #[wasm_bindgen(js_name = "issue")]
    pub fn issue(name: JsString, message: Option<JsString>);

    #[wasm_bindgen(js_name = "issueCommand")]
    pub fn issue_command(command: JsString, properties: &Object, message: JsString);
}