test
This commit is contained in:
@@ -27,6 +27,10 @@ inputs:
|
|||||||
unityBuilder:
|
unityBuilder:
|
||||||
description: "Whether or not to use the UnityBuilder instead of a Unity command."
|
description: "Whether or not to use the UnityBuilder instead of a Unity command."
|
||||||
required: false
|
required: false
|
||||||
|
removeContainer:
|
||||||
|
description: "Remove the mock container after building."
|
||||||
|
required: false
|
||||||
|
default: "true"
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
@@ -40,7 +44,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
CONTAINER=${{ steps.getContainer.outputs.container }}
|
CONTAINER=${{ steps.getContainer.outputs.container }}
|
||||||
|
|
||||||
#docker build -t ${{ inputs.imageTag }} --build-arg IMAGE=$CONTAINER ${{ github.action_path }}
|
docker build -t ${{ inputs.imageTag }} --build-arg IMAGE=$CONTAINER ${{ github.action_path }}
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: "Run Unity command."
|
- name: "Run Unity command."
|
||||||
uses: act/unity/unity@master
|
uses: act/unity/unity@master
|
||||||
@@ -50,8 +54,8 @@ runs:
|
|||||||
password: ${{ inputs.password }}
|
password: ${{ inputs.password }}
|
||||||
command: ${{ inputs.command }}
|
command: ${{ inputs.command }}
|
||||||
unityBuilder: ${{ inputs.unityBuilder }}
|
unityBuilder: ${{ inputs.unityBuilder }}
|
||||||
image: docker://${{ steps.getContainer.outputs.container }}
|
|
||||||
- name: "Remove temporary image."
|
- name: "Remove temporary image."
|
||||||
|
if: ${{ inputs.removeContainer == "true" }}
|
||||||
run: |
|
run: |
|
||||||
docker image rm ${{ inputs.imageTag }}
|
docker image rm ${{ inputs.imageTag }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user