https://github.com/kuler90/activate-unity
GitHub Action to activate Unity Personal or Professional license on Ubuntu, macOS or Windows
https://github.com/kuler90/activate-unity
activation continuous-integration github-actions unity
Last synced: 3 months ago
JSON representation
GitHub Action to activate Unity Personal or Professional license on Ubuntu, macOS or Windows
- Host: GitHub
- URL: https://github.com/kuler90/activate-unity
- Owner: kuler90
- License: mit
- Created: 2020-10-30T09:08:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T10:57:45.000Z (about 2 years ago)
- Last Synced: 2025-04-25T21:53:12.271Z (about 1 year ago)
- Topics: activation, continuous-integration, github-actions, unity
- Language: JavaScript
- Homepage:
- Size: 179 KB
- Stars: 17
- Watchers: 1
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# activate-unity
GitHub Action to activate personal or professional Unity license. License will be automatically returned at the end of a job.
Works on Linux, macOS and Windows.
## Inputs
### `unity-path`
Path to Unity executable. `UNITY_PATH` env will be used if not provided.
### `unity-username`
**Required** Unity account username.
### `unity-password`
**Required** Unity account password.
### `unity-authenticator-key`
Unity account [authenticator key](#How-to-obtain-authenticator-key) for Authenticator App (Two Factor Authentication). Used for account verification during Personal license activation.
### `unity-serial`
Unity license serial key. Used for Plus/Professional license activation.
## How to obtain authenticator key
1. Login to Unity account
2. Go to account settings
3. Activate Two Factor Authentication through Authenticator App
4. On page with QR code click "Can't scan the barcode?" and save key (remove spaces in it)
5. Finish activation
## Example usage
```yaml
- name: Checkout project
uses: actions/checkout@v2
- name: Setup Unity
uses: kuler90/setup-unity@v1
with:
unity-modules: android
- name: Activate Unity
uses: kuler90/activate-unity@v1
with:
unity-username: ${{ secrets.UNITY_USERNAME }}
unity-password: ${{ secrets.UNITY_PASSWORD }}
unity-authenticator-key: ${{ secrets.UNITY_AUTHENTICATOR_KEY }}
- name: Build Unity
uses: kuler90/build-unity@v1
with:
build-target: Android
build-path: ./build.apk
```