Commit b9335f5
ci(audience): detect Linux Unity activation via log, not file path (SDK-255)
- Replaces the file-existence check at ~/.local/share/unity3d/Unity/Unity_lic.ulf
with a grep on Unity's activation log for "Successfully activated the
entitlement license" or "Successfully processed license management request".
- Modern Unity Licensing Client (2021.3+) stores state in a path that varies
by install and Unity version, so the file check returned false even after a
successful activation. The first CI attempt failed for this reason while
Unity itself reported activation succeeded.
- Activation now always runs. Re-running on the same machine reuses the
existing seat by machine fingerprint, so the seat cost stays at one per
runner. The skip-if-cached path is removed because the previous "cached"
detection was unreliable.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3dcc092 commit b9335f5
1 file changed
Lines changed: 8 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
| 368 | + | |
379 | 369 | | |
380 | | - | |
381 | | - | |
382 | 370 | | |
383 | 371 | | |
384 | 372 | | |
385 | 373 | | |
386 | | - | |
| 374 | + | |
387 | 375 | | |
388 | 376 | | |
389 | | - | |
390 | | - | |
391 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
392 | 380 | | |
393 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
394 | 384 | | |
395 | 385 | | |
396 | 386 | | |
| |||
0 commit comments