Giter VIP home page Giter VIP logo

unity-activate's People

Contributors

davidmfinol avatar dependabot-preview[bot] avatar dependabot[bot] avatar gableroux avatar snyk-bot avatar webbertakken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

unity-activate's Issues

Question: how is it that activation skips open project attempt?

Love game.ci, love the unity-* suite of GitHub Actions, question re professional license activation:

When reproducing the license activation commands in my own environment (both unityci image and native editor), post-activation, Unity attempts to open the current working directory or the last opened project. How does this action avoid this behavior?

Log from action (technically the /step/activate.sh from test-runner, but functionally equiv):

...
LICENSE SYSTEM [2021121 20:7:56] License activated successfully with user: *** 
LICENSE SYSTEM [2021121 20:7:56] Next license update check is after 2021-01-23T01:07:55
No valid Unity Editor license found. Please activate your license.
Activation complete.

Log from native editor:

LICENSE SYSTEM [2021127 14:23:10] License activated successfully with user: *** 
LICENSE SYSTEM [2021127 14:23:10] Next license update check is after 2021-01-28T14:23:10
[Package Manager] Server::Start -- Port 57536 was selected
 COMMAND LINE ARGUMENTS:
/opt/unity/Editor/Unity
-batchmode
-nographics
-logFile
/dev/stdout
-quit
-serial
(hidden)
-username
(hidden)
-password
(hidden)
[REDACTED: CURRENT WORK DIRECTORY]
[REDACTED: PROCEEDS TO IMPORT PROJECT, THEN QUIT...]

Observed with Unity 2019.4.4f1 and unityci/editor:ubuntu-2019.4.4f1-base-0.8.0

Professional license with a fallback to free

I'm using the game-ci github actions to build both formal releases and test PRs. Up to now, I've been using a free license stored in the yml, but I now have a professional license which I'd like to use to build my formal releases. However, since it's stored in a secret, it's not accessible by a PR from a fork.

Ideally, I'd like to be able to pass both the license file (in the yml) and the email/password/serial (from the secret), and if the email/password/serial is defined (i.e., the source is the main repo), it'd use those, but if not (e.g., a fork), it'd fall back to the free license. However, based on the order of the if / else if, it doesn't look like this will work.

Any ideas for how this can be done, or maybe a better workflow to use?

Action to release pro license

I have just tested that the action works for my pro license, but there is the issue that you only have a limited number of activations.

We need an action to release the license after the build has completed, or if it fails.

Not updated DockerImage

Run game-ci/[email protected]
  with:
    unityVersion: 2020.3.6f1
/usr/bin/docker build /home/runner/work/_actions/game-ci/unity-activate/v1.3/action --file /home/runner/work/_actions/game-ci/unity-activate/v1.3/action/Dockerfile --build-arg IMAGE=gableroux/unity3d:2020.3.6f1 --tag unity-action:2020.3.6f1
Sending build context to Docker daemon  135.2kB

Step 1/12 : ARG IMAGE
Step 2/12 : FROM $IMAGE
manifest for gableroux/unity3d:2020.3.6f1 not found: manifest unknown: manifest unknown
Error: The process '/usr/bin/docker' failed with exit code 1

Seems that the change to unityci/editor have not been done yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.