This commit is contained in:
2023-03-25 21:53:41 -07:00
parent 40fd87e4b9
commit ad98e1b5b8
3 changed files with 31 additions and 13 deletions

View File

@@ -44,14 +44,17 @@ runs:
run: |
CONTAINER=${{ steps.getContainer.outputs.container }}
docker build -t ${{ inputs.imageTag }} --build-arg IMAGE=$CONTAINER ${{ github.action_path }}
SERIAL="${{ inputs.serial }}" USERNAME="${{ inputs.email }}" PASSWORD="${{ inputs.password }}" \
# Activate the license on build.
docker build . --secret id=SERIAL,env=SERIAL --secret id=USERNAME,env=USERNAME --secret id=PASSWORD,env=PASSWORD \
-t ${{ inputs.imageTag }} --build-arg IMAGE=$CONTAINER ${{ github.action_path }}
shell: bash
- name: "Run Unity command."
uses: act/unity/unity@master
with:
serial: ${{ inputs.serial }}
email: ${{ inputs.email }}
password: ${{ inputs.password }}
# serial: ${{ inputs.serial }}
# email: ${{ inputs.email }}
# password: ${{ inputs.password }}
command: ${{ inputs.command }}
unityBuilder: ${{ inputs.unityBuilder }}
- name: "Remove temporary image."