This commit is contained in:
Webber 2019-12-22 20:58:30 +01:00 committed by Webber Takken
parent ed7918e4f4
commit 7c90cddd43
3 changed files with 25 additions and 4 deletions

View File

@ -5,4 +5,3 @@
!entrypoint.sh
!action.yml
!default-build-script
!src

View File

@ -12,7 +12,5 @@ LABEL "maintainer"="Webber Takken <webber@takken.io>"
ADD default-build-script /UnityBuilderAction
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -1,7 +1,31 @@
name: 'Unity - Builder'
author: Webber Takken <webber@takken.io>
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.'