Comments (5)
So in the regular flow you don't need to use this action directly anymore, as activation happens within both test-runner and builder. Activating unity by itself will use up an activation slot, which you'll have to also return. In practice people just all end up using test-runner and builder for all their needs.
We're looking to fully automate the process for personal licenses as well. See https://github.com/game-ci/unity-actions/issues/121
If you want to use this action, the signature is the same as builder. For personal license provide the username, password and file. For professional provide username, password and serial.
Hope this helps.
from unity-activate.
Please follow the documentation at https://game.ci
from unity-activate.
I've searched all over the website, CTRL+F'd where I can, used the search where I can -- there is nothing about game-ci/unity-activate in the documentation other than "Optionally, use this".
So, with some assumptions & pre-made code snippets, I end up with this workflow:
name: Set Up Unity Personal Licence
on:
workflow_dispatch: {}
jobs:
activation:
name: Request manual activation file
runs-on: ubuntu-latest
steps:
# Request manual activation file
- name: Request manual activation file
id: getManualLicenseFile
uses: game-ci/unity-request-activation-file@v2
# Upload artifact (Unity_v20XX.X.XXXX.alf)
- name: Expose as artifact
uses: actions/upload-artifact@v2
with:
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
# Activate?? This is the code snippet Github Actions Marketplace gives us.
- name: Unity - Activate
id: activateLicence
uses: game-ci/[email protected]
This workflow errors out on the "Unity - Activate" step, giving this error:
Activating Unity version "2019.2.11f1".
License activation strategy could not be determined.
Visit https://github.com/webbertakken/unity-builder#usage for more
details on how to set up one of the possible activation strategies.
Error: The process '/usr/bin/docker' failed with exit code 1
Why does this depend on Unity Builder? What is meant to be happening here? There is no documentation explaining any of this.
I can manually take the activation file and turn it into a licence just fine - there's plenty of helpful documentation on that in the link you provided. That's fine. But this action implies that the manual involvement can be replaced by some automation, and I've love to learn more about that.
from unity-activate.
I used the same signature with build as shown in docs:
name: Verify license
on:
workflow_dispatch: {}
jobs:
activation:
name: Verify license
runs-on: ubuntu-latest
steps:
- name: Unity - Activate
uses: game-ci/[email protected]
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
I am getting this:
License activation strategy could not be determined.
Visit https://game.ci/docs/github/getting-started for more
details on how to set up one of the possible activation strategies.
Error: The process '/usr/bin/docker' failed with exit code 1
What am I doing wrong?
from unity-activate.
I'll answer here once, but if the problem persists for any reason, please, kindly create a new issue.
When the action outputs License activation strategy could not be determined.
it means you haven't set UNITY_LICENSE and also not provided a serial. You have to provide one or the other. In your case, your secret is not filled or not passed.
from unity-activate.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-activate.