You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the enhancement
Consider development of a composite GitHub action using the javascript toolkit. In that case, the steps would involve also calling other existing actions as if run from the action yaml.
Code Snippet
Something along the lines of:
import * as core from '@actions/core';
async function run() {
await core.callAction("<name", {input_arg1: "v1", input_arg2: "v2", ...})
// access any output from this action call by calling ??
}
Additional information
The idea is to be able to specify a composite action entirely in javascript. Given that a composite action is treated like a regular action, is there a way to create composite actions using the javascript SDK?
The text was updated successfully, but these errors were encountered:
I would love this; I have an action written in JS that I want to extract a piece out of and move to a composite action - so I can use it in other actions. However, I still need the JS-written action to be able to use it, and I'm not sure if it's possible without this kind of feature.
Describe the enhancement
Consider development of a composite GitHub action using the javascript toolkit. In that case, the steps would involve also calling other existing actions as if run from the action yaml.
Code Snippet
Something along the lines of:
Additional information
The idea is to be able to specify a composite action entirely in javascript. Given that a composite action is treated like a regular action, is there a way to create composite actions using the javascript SDK?
The text was updated successfully, but these errors were encountered: