Added many, many more actions.
This commit is contained in:
23
unity/unity-get-buildtarget/action.yaml
Normal file
23
unity/unity-get-buildtarget/action.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: unity-get-buildtarget
|
||||
description: "Get the correct Unity build target from a provided platform."
|
||||
inputs:
|
||||
platform:
|
||||
description: "Unity Platform. Options: windows, windows32bit, mac, linux, android"
|
||||
required: true
|
||||
outputs:
|
||||
buildTarget:
|
||||
description: "Unity Build Target."
|
||||
value: ${{ steps.getTarget.outputs.buildTarget }}
|
||||
buildArg:
|
||||
description: "Unity Build Argument."
|
||||
value: ${{ steps.getTarget.outputs.buildArg }}
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: "Get Unity Build Target."
|
||||
id: getTarget
|
||||
run: |
|
||||
#Choose the correct buildTarget: https://docs.unity3d.com/Manual/EditorCommandLineArguments.html
|
||||
|
||||
bash ${{ github.action_path }}/get_target.sh "${{ inputs.platform }}"
|
||||
shell: bash
|
||||
Reference in New Issue
Block a user