You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Unity - Activate
v1.1
GitHub Action to activate Unity.
Part of the Unity Actions collection.
Use this action to activate Unity using credentials or a license file. Both personal and professional licenses are supported.
When successfully activated, you will be able to run the Test and Build actions.
See the Unity Actions collection repository for workflow documentation and reference implementation.
Create or edit the file called .github/workflows/activation.yml
and add a job to it.
name: Activate Unity
on: [push]
jobs:
requestActivation:
name: Request activation ✔
runs-on: ubuntu-latest
steps:
Continue to either the personal license or professional license section below.
- Follow the activation section from request action to set
UNITY_LICENSE
variable. - Use the action as follows:
- name: Activate Unity
uses: webbertakken/[email protected]
env:
UNITY_LICENSE: ${{ secrets.UNITY_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/[email protected]
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
Visit Unity Actions to find related actions for Unity.
Feel free to contribute.