Skip to content

License Activation fixes and Github Annotations #590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Nov 12, 2023
Merged

Conversation

AndrewKahr
Copy link
Member

@AndrewKahr AndrewKahr commented Nov 7, 2023

Changes

  • Fix license activation issues
  • Add Github Actions annotations to default build script to make errors and warnings from Unity easier to find and diagnose
  • Add error annotation for license activation error
  • Update out-of-date node packages
  • Further serial masking improvements
  • Update test project and workflows to improve stability and relevance

Related PRs

Checklist

  • Read the contribution guide and accept the
    code of conduct
  • Docs (If new inputs or outputs have been added or changes to behavior that should be documented. Please make a PR
    in the documentation repo)
  • Readme (updated or not needed)
  • Tests (added, updated or not needed)

Copy link

github-actions bot commented Nov 7, 2023

Cat Gif

@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2023

Codecov Report

Merging #590 (9e55d14) into main (7afabe7) will increase coverage by 0.00%.
The diff coverage is 66.66%.

❗ Current head 9e55d14 differs from pull request most recent head cb33afe. Consider uploading reports for the commit cb33afe to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main     #590    +/-   ##
========================================
  Coverage   37.22%   37.22%            
========================================
  Files          77       76     -1     
  Lines        3060     3054     -6     
  Branches      649      610    -39     
========================================
- Hits         1139     1137     -2     
- Misses       1771     1917   +146     
+ Partials      150        0   -150     
Files Coverage Δ
src/model/build-parameters.ts 90.00% <100.00%> (+0.60%) ⬆️
src/model/docker.ts 10.63% <ø> (ø)
src/model/image-environment-factory.ts 3.70% <0.00%> (-3.44%) ⬇️

... and 36 files with indirect coverage changes

…e to request an example successful run. Remove 32bit windows build. Build on push to any branch
@AndrewKahr AndrewKahr mentioned this pull request Nov 7, 2023
3 tasks
@AndrewKahr
Copy link
Member Author

iOS build issue seems to be a Unity issue and not from the changes to the action

@AndrewKahr AndrewKahr requested a review from GabLeRoux November 8, 2023 21:30
Comment on lines +21 to +23
- 2021.3.32f1
- 2022.3.13f1
- 2023.1.19f1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine for now, but I don't think it should be a goal to have these updated to the latest all the time, as there's value in having reference versions. Especially for long running issues.

Comment on lines +21 to +22
-password "$UNITY_PASSWORD" \
-projectPath "/BlankProject"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about this change? Does it work for all versions? We separated between the two methods because of necessity back then. A single flag can make a rigorous difference in the Unity command line and show entirely different behaviour at times.

If you're sure about this, I welcome the simplification :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea so the reason I switched to this is it seems that activating with serial likes having a real project path provided. I was getting some odd errors without it. I think when it was doing license file activation it didn't care since it was probably just moving the ulf to the right folder rather than actually spinning up Unity for the licensing client which is what happens now since manual ulf doesn't seem to work anymore unfortunately.

@AndrewKahr AndrewKahr merged commit caa0a81 into main Nov 12, 2023
@AndrewKahr AndrewKahr deleted the github-annotations branch November 12, 2023 13:47
Copy link
Member

@GabLeRoux GabLeRoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work here 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants