Skip to main content
Version: Next

VersionSourceCode

An Actor version whose source is a single inline script.

It carries no source location of its own, so it adds nothing to BaseVersion; the variant exists so that SOURCE_CODE, which both the spec and @apify/consts list, is representable.

Hierarchy

  • BaseVersion<`${ActorSourceType.SourceCode}`>
    • VersionSourceCode

Index

Properties

optionalinheritedapplyEnvVarsToBuild

applyEnvVarsToBuild?: null | boolean
false

Whether to inject the environment variables at build time.

optionalinheritedbuildTag

buildTag?: null | string
latest

The tag name to apply to a successful build of this version. Can be null when the version has no build tag.

optionalinheritedenvVars

envVars?: null | EnvVar[]

inheritedsourceType

sourceType: SOURCE_CODE

inheritedversionNumber

versionNumber: string
0.0

The version number of the Actor. Two numbers separated by a dot, that represent the MAJOR.MINOR part of the semantic versioning.