From 96101e2f11ba73beb77765a8c19214d492ac8194 Mon Sep 17 00:00:00 2001 From: Scion Date: Fri, 24 Mar 2023 01:49:19 -0700 Subject: [PATCH] test --- unity-composite/action.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/unity-composite/action.yaml b/unity-composite/action.yaml index 2320935..b1053b6 100644 --- a/unity-composite/action.yaml +++ b/unity-composite/action.yaml @@ -16,13 +16,16 @@ inputs: unityBuilder: description: "Whether or not to use the UnityBuilder instead of a Unity command." required: false + buildDir: + description: "Where the built application ends up." + required: false cacheVolume: description: "Name of the volume to cache the Library folder to." required: true artifactsVolume: description: "Name of the volume to copy the artifacts to." required: true - artifactsDirectory: + artifactsDir: description: "Name of the directory to copy the artifacts from." required: true default: artifacts @@ -49,14 +52,14 @@ runs: - name: "Compress build" if: ${{ inputs.zipName }} env: - WORKDIR: build + WORKDIR: ${{ inputs.buildDir }} uses: act/common/utils/compress@master with: - name: ../${{ inputs.artifactsDirectory }}/${{ inputs.zipName }} + name: ../${{ inputs.artifactsDir }}/${{ inputs.zipName }} files: . - name: "Copy artifacts" uses: act/common/docker/docker-cp@master with: recreateVolume: true volume: ${{inputs.artifactsVolume }} - fromPath: ${{ inputs.artifactsDirectory }}/. + fromPath: ${{ inputs.artifactsDir }}/.