test
This commit is contained in:
@@ -16,13 +16,16 @@ 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
|
||||||
|
buildDir:
|
||||||
|
description: "Where the built application ends up."
|
||||||
|
required: false
|
||||||
cacheVolume:
|
cacheVolume:
|
||||||
description: "Name of the volume to cache the Library folder to."
|
description: "Name of the volume to cache the Library folder to."
|
||||||
required: true
|
required: true
|
||||||
artifactsVolume:
|
artifactsVolume:
|
||||||
description: "Name of the volume to copy the artifacts to."
|
description: "Name of the volume to copy the artifacts to."
|
||||||
required: true
|
required: true
|
||||||
artifactsDirectory:
|
artifactsDir:
|
||||||
description: "Name of the directory to copy the artifacts from."
|
description: "Name of the directory to copy the artifacts from."
|
||||||
required: true
|
required: true
|
||||||
default: artifacts
|
default: artifacts
|
||||||
@@ -49,14 +52,14 @@ runs:
|
|||||||
- name: "Compress build"
|
- name: "Compress build"
|
||||||
if: ${{ inputs.zipName }}
|
if: ${{ inputs.zipName }}
|
||||||
env:
|
env:
|
||||||
WORKDIR: build
|
WORKDIR: ${{ inputs.buildDir }}
|
||||||
uses: act/common/utils/compress@master
|
uses: act/common/utils/compress@master
|
||||||
with:
|
with:
|
||||||
name: ../${{ inputs.artifactsDirectory }}/${{ inputs.zipName }}
|
name: ../${{ inputs.artifactsDir }}/${{ inputs.zipName }}
|
||||||
files: .
|
files: .
|
||||||
- name: "Copy artifacts"
|
- name: "Copy artifacts"
|
||||||
uses: act/common/docker/docker-cp@master
|
uses: act/common/docker/docker-cp@master
|
||||||
with:
|
with:
|
||||||
recreateVolume: true
|
recreateVolume: true
|
||||||
volume: ${{inputs.artifactsVolume }}
|
volume: ${{inputs.artifactsVolume }}
|
||||||
fromPath: ${{ inputs.artifactsDirectory }}/.
|
fromPath: ${{ inputs.artifactsDir }}/.
|
||||||
|
|||||||
Reference in New Issue
Block a user