mirror of
https://github.com/game-ci/unity-activate
synced 2026-01-28 21:59:05 +08:00
1.9 KiB
1.9 KiB
Unity - Activate
Github Action to activate Unity using credentials or a license file. Both personal and professional licenses are supported.
Use this action to verify whether your license file is correctly configured. If so, you will be able to run the Test and Build actions from the Unity Actions collection too.
Usage
Personal license
- Follow the activation section from request action to set
UNITY_LICENSEvariable. - Use the action as follows:
- name: Activate Unity
uses: webbertakken/unity-activate@v1
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Professional license
- 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-activate@v1
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
Note: I was not able to verify these steps as i don't have a pro license. Feel free to give feedback or contribute.
More actions
Visit Unity Actions to find related actions for Unity.