Automate building the LabVIEW Icon Editor project, including cleaning, building libraries, and packaging.
Common parameters are described in Common parameters.
string
): Path relative to the action’s working directory. Use “.” when the working directory is desired.int
): Major version component.int
): Minor version component.int
): Patch version component.int
): Build number component.string
): Commit identifier embedded in the build.string
): LabVIEW minor revision (e.g., “3”)string
): Name of the company for metadata.string
): Author or organization name for metadata.None.
GitHub Action inputs are provided in snake_case
, while CLI parameters use PascalCase
. The table below maps each input to its corresponding CLI parameter. For details on shared CLI flags, see Common parameters.
Input | CLI parameter | Description |
---|---|---|
relative_path |
RelativePath |
Path relative to the working directory. Use ‘.’ to refer to the working directory. |
major |
Major |
Major version component. |
minor |
Minor |
Minor version component. |
patch |
Patch |
Patch version component. |
build |
Build |
Build number. |
commit |
Commit |
Commit identifier. |
labview_minor_revision |
LabVIEWMinorRevision |
LabVIEW minor revision. |
company_name |
CompanyName |
Company name for the build. |
author_name |
AuthorName |
Author name for the build. |
gcli_path |
gcliPath |
Optional path to the g-cli executable. |
working_directory |
WorkingDirectory |
Base directory for the action; relative paths are resolved from here. |
log_level |
LogLevel |
Verbosity level (ERROR|WARN|INFO|DEBUG). |
dry_run |
DryRun |
If true, simulate the action without side effects. |
pwsh -File actions/Invoke-OSAction.ps1 -ActionName build -ArgsJson '{
"WorkingDirectory": ".",
"RelativePath": ".",
"Major": 1,
"Minor": 0,
"Patch": 0,
"Build": 1,
"Commit": "abcdef",
"LabVIEWMinorRevision": "3",
"CompanyName": "Acme Corp",
"AuthorName": "Jane Doe"
}'
- name: Build project
uses: LabVIEW-Community-CI-CD/open-source/build@v1
with:
working_directory: '.'
relative_path: '.'
major: 1
minor: 0
patch: 0
build: 1
commit: abcdef
labview_minor_revision: '3'
company_name: 'Acme Corp'
author_name: 'Jane Doe'
0
– build completed successfullyFor troubleshooting tips, see the troubleshooting guide.