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