diff --git a/.dockerignore b/.dockerignore index 2b962fc9..d72f91f9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,4 +5,3 @@ !entrypoint.sh !action.yml !default-build-script -!src diff --git a/Dockerfile b/Dockerfile index a513588f..59be746d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,5 @@ LABEL "maintainer"="Webber Takken " ADD default-build-script /UnityBuilderAction ADD entrypoint.sh /entrypoint.sh - RUN chmod +x /entrypoint.sh - ENTRYPOINT ["/entrypoint.sh"] diff --git a/action.yml b/action.yml index b22b084d..c4310527 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,31 @@ name: 'Unity - Builder' author: Webber Takken description: 'Build Unity projects for different platforms.' -inputs: {} +inputs: + unityVersion: + required: false + default: '' + description: 'Version of unity to use for building the project.' + targetPlatform: + required: false + default: '' + description: 'Platform that the build should target.' + projectPath: + required: false + default: '' + description: 'Relative path to the project to be built.' + buildName: + required: false + default: '' + description: 'Name of the build.' + buildsPath: + required: false + default: '' + description: 'Path where the builds should be stored.' + buildMethod: + required: false + default: '' + description: 'Path to a Namespace.Class.StaticMethod to run to perform the build.' outputs: buildPath: description: 'Path where the current platform has been built to.'