diff --git a/unity-composite/action.yaml b/unity-composite/action.yaml index a0546c0..833a92e 100644 --- a/unity-composite/action.yaml +++ b/unity-composite/action.yaml @@ -33,10 +33,10 @@ inputs: zipName: description: "Name of the resulting zip file." required: false - removeContainer: - description: "Remove the mock container after building." + artifactMode: + description: "The mode with which to publish artifacts. Options: copy, own Default: own" required: false - default: "false" + default: "own" runs: using: "composite" steps: @@ -58,7 +58,13 @@ runs: with: name: ../${{ inputs.artifactsDir }}/${{ inputs.zipName }} files: . + - name: "Own artifacts" + if: input.artifactMode == 'own' + uses: act/common/utils/chown@master + with: + file: ${{ inputs.artifactsDir }} - name: "Copy artifacts" + if: input.artifactMode == 'copy' uses: act/common/docker/docker-cp@master with: recreateVolume: true