mirror of
https://github.com/game-ci/unity-actions.git
synced 2026-01-29 04:39:07 +08:00
1.2 KiB
1.2 KiB
Activate Unity
Activates personal of professional license of unity.
Usage
Personal license example
- Goto
Repository>Settings>Secrets - Create a new secret called
UNITY_LICENSE - Request manual activation file using the request action and use it to acquire your license from unity licensing.
- Copy the contents of the license file into the value field of the secret
UNITY_LICENSE - Use the action as follows:
- name: Activate Unity
uses: webbertakken/unity-actions/request-activation@master
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Professional license example
- Goto
Repository>Settings>Secrets - Set the following secrets:
UNITY_EMAIL: <your_unity_login_email_address>UNITY_PASSWORD: <your_unity_login_password>UNITY_SERIAL: <your_unity_serial>
- Use the action as follows:
- name: Activate Unity
uses: webbertakken/unity-actions/request-activation@master
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}