ghakit
    Preparing search index...

    Function setEnv

    • Sets the value of an environment variable in GitHub Actions.

      Updates process.env immediately so the variable is available in the current process, and appends it to the env file for subsequent steps.

      Parameters

      • name: string

        The name of the environment variable.

      • value: string

        The value to set for the environment variable.

      Returns Promise<void>

      A promise that resolves when the environment variable is successfully set.