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 }}/.