Documentation for Simbo's Packages
    Preparing search index...
    • Runs the main function of a GitHub Action and reports a failure.

      If main throws or rejects, the action fails through core.setFailed: the message of the error and of every cause is logged as an error annotation, and process.exitCode is set to 1. The stack trace is logged with core.debug, visible only in debug logs. The process is not ended, so pending output and handles complete as usual.

      Parameters

      • main: ActionMain

        The main function of the action.

      Returns Promise<void>

      A promise that resolves when main is done; it never rejects.