We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a07d9 commit 38d16e7Copy full SHA for 38d16e7
packages/actions-core/src/action.ts
@@ -5,7 +5,7 @@ import BuildContext from './buildContext';
5
export default class Action {
6
static run<I extends { [key: string]: any }, O extends { [key: string]: any }>(
7
action: (configuration: I) => Promise<O>,
8
- configurationSupplier: (input: Input, context: BuildContext) => I
+ configurationSupplier: (input: Input, context: BuildContext) => I,
9
) {
10
try {
11
const configuration = configurationSupplier(new Input(), new BuildContext());
@@ -14,7 +14,7 @@ export default class Action {
14
Object.entries(output).forEach(([key, value]) => {
15
console.log(`${key}: ${JSON.stringify(value)}`);
16
core.setOutput(key, JSON.stringify(value));
17
- })
+ }),
18
)
19
.catch(this.handleError);
20
} catch (err) {
0 commit comments