4d/Build 4D

Build 4D code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 16, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 4d/build4d-action@e20fe207ac126f6390e1cf939f4e86a8aca3ac0c # v2.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
projectProject to buildno
targetsIf not defined, only a check syntax is done. Possible values: "x86_64_generic", "arm64_macOS_lib" if macOS. (some shortcut all, current, available)no""
type-inferenceString "all": Type all variables, "locals": Process and interprocess are typed, "none": "All variables are typed"nonone
generate-symbolstrue to generate symbol information in the .symbols returned objectnoFalse
generate-typing-methods"reset" or "append" to generate typing methods. If value is "append", existing variable declarations won't be modified (compiler window behavior). If value is "reset" existing variable declarations are removed beforehand.no""
generate-syntax-fileTo generate a syntax file for code https://developer.4d.com/docs/settings/general) in the Resourcesn.lproj folder of the projectno""
ignore-warningsNever display compilation warnings.noFalse
fail-on-warningFailed on warnings.noFalse
actionsOne or more among "build","pack","sign","archive"no""
output-directoryDirectory to output build. Default is "build"no""
sign-certificateName of the certificate to use. Mandatory to sign on macOS.no""
sign-filesList of file paths to sign too relative to base folderno""
sign-as-bundleSign as bundle using app_sign_pack_notarize.sh from tool4d.app instead of file-by-file signing. Set to 'false' to disable bundle signing. If set to 'true' but app_sign_pack_notarize.sh is not found, automatically falls back to file-by-file signing.notrue
entitlements-filePath of entitlement files to sign (if not defined use default one)no""
archive-nameDefine name of the archive produced with action 'archive'. (Default is 4d project name with space replaced by -)no""
before-buildScript or binary to execute before the build action starts. Can be a shell command, script path, or executable binary.no""
after-buildScript or binary to execute after the build action completes. Can be a shell command, script path, or executable binary.no""
always-run-after-buildWhether to run the after-build hook even if the build fails. Set to 'true' to always execute after-build regardless of build success/failure.nofalse
strip-testsRemove test methods (test_*.4dm) from the project before compilation. Set to 'true' to remove test methods.nofalse
product-linetool4d product lineno21.x
versiontool4d versionno21.0
buildtool4d build numbernolatest
tokenif needed a token to downloadno
namedescription
tool4dPath to the tool4d executable
projectPath to the 4D project that was processed