-
Notifications
You must be signed in to change notification settings - Fork 1
chore: Cherry-picked changes from upstream #30
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
Changes from all commits
Commits
Show all changes
186 commits
Select commit
Hold shift + click to select a range
4525c12
Cloud Runner Improvements - LTS Candidate - S3 Locking, Aws Local Sta…
github-actions[bot] 9382543
Cloud Runner Improvements - LTS Candidate - S3 Locking, Aws Local Sta…
Raj-StepSecurity 60bfbb7
Cloud Runner Improvements - LTS Candidate - S3 Locking, Aws Local Sta…
Raj-StepSecurity 599432b
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 4bf2b57
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 48c0258
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 5523be7
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 41f4b1e
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity ccfb98c
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 91d8dd9
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity a1bf3df
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 5270a37
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity c8885bf
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 69bb1db
Rename Cloud Runner to Orchestrator (#775)
Raj-StepSecurity 84391c0
fix: pass Unity license secrets to AWS ECS container via RunTask over…
Raj-StepSecurity 21be2ae
fix: pass Unity license secrets to AWS ECS container via RunTask over…
Raj-StepSecurity 2ea0b24
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 0d4abdd
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 13ac038
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 0350a4a
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 81323b9
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity bca846e
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 8e49a15
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 26115f4
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity a5efe09
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 3687edf
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity d5aaf0a
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity d6bf539
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity a8f39b9
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity ed5a078
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 406a687
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 68db1ce
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity f0a9f9d
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 5278205
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 9caf78b
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity d90c38a
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 93663c1
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 4e2c25a
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 7f202a8
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 2626a92
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 5338383
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity e1a9b28
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 705d563
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 002dd82
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 985b58c
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 3cb291f
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity f5141f7
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 99f8008
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity da068d1
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 3182f59
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity e2cca77
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity ed80b01
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 0d7510d
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 9f8ab3d
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 7bb4c2f
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity ab9e702
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity df53471
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 5f13524
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 4b903d7
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 6309830
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 1be0b71
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 3104fa8
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 005c1a4
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 7a5c88e
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 7ca4552
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 8ced823
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 431d211
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 729a329
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity f180292
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 006bb35
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity b80b259
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 0677a56
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 43f97fd
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity c5f7ecf
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity b6711ce
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 3242f6a
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 4bc351f
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity b6806eb
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 7eff6e3
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 79d242f
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 5c1f12a
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 9c14371
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity c70ecbd
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity c82c7b9
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 117cc5c
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 9716921
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 375eab3
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 4735627
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 9648089
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 1e1da40
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity be410ae
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity a0a0138
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 9d45b55
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity ba90694
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 8e65d6e
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity d20e6b2
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 5df3f2b
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity a621d90
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 3f45ca3
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 7b2f9c4
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 3dd6cc3
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity fb1e648
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 19e6e43
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 8bc80c9
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 6aea700
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 5da561a
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 4ca925c
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity af68fd9
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity c199c33
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity ca7dc64
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity ebc233d
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity db7663e
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity 66b5759
Orchestrator Extraction — Remove Orchestrator Code, Add Plugin Loader…
Raj-StepSecurity e4cf2fd
Adds support for useHostNetwork the unity-builder (#828)
Raj-StepSecurity 68340ce
Adds support for useHostNetwork the unity-builder (#828)
Raj-StepSecurity 9c8cc20
Adds support for useHostNetwork the unity-builder (#828)
Raj-StepSecurity 9b720e5
Adds support for useHostNetwork the unity-builder (#828)
Raj-StepSecurity ad83a2d
Adds support for useHostNetwork the unity-builder (#828)
Raj-StepSecurity d5207bd
Adds support for useHostNetwork the unity-builder (#828)
Raj-StepSecurity adff71d
chore: migrate to mise + bump yarn to 4.14.1 (#830)
Raj-StepSecurity e2e6c67
chore: migrate to mise + bump yarn to 4.14.1 (#830)
Raj-StepSecurity 05f74e2
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 601c760
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 768cd6a
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 9e6748a
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity e0a6714
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity fc87092
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 9c696e0
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity dbf9186
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 5e77473
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 56d846b
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity fd6023c
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity a51a4c8
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 4cc0cd3
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 25eda56
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity b4d65a4
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity bb1560f
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity e1d41b2
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity e742452
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity c996fd8
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity d1036f3
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 4d20709
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 8a25fef
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 12c22ea
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 1aef29c
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 9aad0e3
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 778116b
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 66f4d13
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity ffbe24c
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 495ac7f
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity ea54b76
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 11b193b
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 772fd4b
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity e128173
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity d9583cf
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 22f8d9c
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 20e1472
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 9662475
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 5064965
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 3050a50
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity d02e668
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 29a421c
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity c065278
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 6daea16
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity c2b38ba
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 0333657
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 8cfce25
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity a364e95
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 5161edd
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity b1d3a42
chore: quality-tightening (oxfmt + oxlint + tsc + vitest + husky + ac…
Raj-StepSecurity 141edea
chore: v5 prep — dep bumps, linux64 extension, legacy CLI removal, Cl…
Raj-StepSecurity 0a59067
chore: v5 prep — dep bumps, linux64 extension, legacy CLI removal, Cl…
Raj-StepSecurity af727c5
chore: v5 prep — dep bumps, linux64 extension, legacy CLI removal, Cl…
Raj-StepSecurity e0acfeb
chore: v5 prep — dep bumps, linux64 extension, legacy CLI removal, Cl…
Raj-StepSecurity d051c3e
chore: v5 prep — dep bumps, linux64 extension, legacy CLI removal, Cl…
Raj-StepSecurity 1dd3c50
chore: v5 prep — dep bumps, linux64 extension, legacy CLI removal, Cl…
Raj-StepSecurity 336be87
conflicted commits cherry-picked
Raj-StepSecurity 527181a
conflicted commits cherry-picked
Raj-StepSecurity a6727af
conflicted commits cherry-picked
Raj-StepSecurity 7997bbd
conflicted commits cherry-picked
Raj-StepSecurity 82e4443
code linted
Raj-StepSecurity 7deb072
cherry-picked upstream
Raj-StepSecurity 1bf757d
cherry-picked upstream
Raj-StepSecurity 906c24a
local script removed
Raj-StepSecurity c75d457
subscription check esc char issue fixed
Raj-StepSecurity b7a0251
comments addressed
Raj-StepSecurity File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,171 @@ | ||
| name: Validate Community Plugins | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| plugin_filter: | ||
| description: 'Filter plugins by name (regex pattern, empty = all)' | ||
| required: false | ||
| default: '' | ||
| unity_version: | ||
| description: 'Override Unity version (empty = use plugin default)' | ||
| required: false | ||
| default: '' | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| load-plugins: | ||
| name: Load Plugin Registry | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| matrix: ${{ steps.parse.outputs.matrix }} | ||
| plugin_count: ${{ steps.parse.outputs.count }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
Raj-StepSecurity marked this conversation as resolved.
|
||
|
|
||
| - name: Parse plugin registry | ||
| id: parse | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const fs = require('fs'); | ||
| const yaml = require('js-yaml'); | ||
|
|
||
| const registry = yaml.load(fs.readFileSync('community-plugins.yml', 'utf8')); | ||
| let plugins = registry.plugins || []; | ||
|
|
||
| // Apply name filter if provided | ||
| const filter = '${{ github.event.inputs.plugin_filter }}'; | ||
| if (filter) { | ||
| const regex = new RegExp(filter, 'i'); | ||
| plugins = plugins.filter(p => regex.test(p.name)); | ||
| } | ||
|
|
||
| // Expand platform matrix | ||
| const matrix = []; | ||
| for (const plugin of plugins) { | ||
| const platforms = plugin.platforms || ['StandaloneLinux64']; | ||
| for (const platform of platforms) { | ||
| matrix.push({ | ||
| name: plugin.name, | ||
| package: plugin.package, | ||
| source: plugin.source || 'git', | ||
| unity: '${{ github.event.inputs.unity_version }}' || plugin.unity || '2021.3', | ||
| platform: platform, | ||
| timeout: plugin.timeout || 30 | ||
| }); | ||
| } | ||
| } | ||
|
|
||
| core.setOutput('matrix', JSON.stringify({ include: matrix })); | ||
| core.setOutput('count', matrix.length); | ||
| console.log(`Found ${matrix.length} plugin-platform combinations to validate`); | ||
|
|
||
| validate: | ||
| name: '${{ matrix.name }} (${{ matrix.platform }})' | ||
| needs: load-plugins | ||
| if: needs.load-plugins.outputs.plugin_count > 0 | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: ${{ fromJson(matrix.timeout) }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: ${{ fromJson(needs.load-plugins.outputs.matrix) }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Create test project | ||
| run: | | ||
| mkdir -p test-project/Assets | ||
| mkdir -p test-project/Packages | ||
| mkdir -p test-project/ProjectSettings | ||
|
|
||
| # Create minimal manifest.json | ||
| if [ "${{ matrix.source }}" = "git" ]; then | ||
| cat > test-project/Packages/manifest.json << 'MANIFEST' | ||
| { | ||
| "dependencies": { | ||
| "com.unity.modules.imgui": "1.0.0", | ||
| "com.unity.modules.jsonserialize": "1.0.0" | ||
| } | ||
| } | ||
| MANIFEST | ||
|
|
||
| # Add git package via manifest | ||
| cd test-project | ||
| python3 -c " | ||
| import sys, json | ||
| manifest = json.load(sys.stdin) | ||
| manifest['dependencies']['${{ matrix.name }}'] = '${{ matrix.package }}' | ||
| json.dump(manifest, sys.stdout, indent=2) | ||
| " < Packages/manifest.json > Packages/manifest.tmp && mv Packages/manifest.tmp Packages/manifest.json | ||
| cd .. | ||
| fi | ||
|
|
||
| # Create minimal ProjectSettings | ||
| cat > test-project/ProjectSettings/ProjectVersion.txt << EOF | ||
| m_EditorVersion: ${{ matrix.unity }} | ||
| EOF | ||
|
|
||
| - name: Build with unity-builder | ||
| uses: ./ | ||
| id: build | ||
| with: | ||
| projectPath: test-project | ||
| targetPlatform: ${{ matrix.platform }} | ||
| unityVersion: ${{ matrix.unity }} | ||
| continue-on-error: true | ||
|
|
||
| - name: Record result | ||
| if: always() | ||
| run: | | ||
| STATUS="${{ steps.build.outcome }}" | ||
| { | ||
| echo "## ${{ matrix.name }} — ${{ matrix.platform }}" | ||
| echo "" | ||
| if [ "$STATUS" = "success" ]; then | ||
| echo "✅ **PASSED** — Compiled and built successfully" | ||
| else | ||
| echo "❌ **FAILED** — Build or compilation failed" | ||
| fi | ||
| echo "" | ||
| echo "- Unity: ${{ matrix.unity }}" | ||
| echo "- Platform: ${{ matrix.platform }}" | ||
| echo "- Source: ${{ matrix.source }}" | ||
| echo "- Package: \`${{ matrix.package }}\`" | ||
| } >> "$GITHUB_STEP_SUMMARY" | ||
|
|
||
| report: | ||
| name: Validation Report | ||
| needs: [load-plugins, validate] | ||
| if: always() | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Generate summary | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const { data: run } = await github.rest.actions.listJobsForWorkflowRun({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| run_id: context.runId | ||
| }); | ||
|
|
||
| const validateJobs = run.jobs.filter(j => j.name.startsWith('validate')); | ||
| const passed = validateJobs.filter(j => j.conclusion === 'success').length; | ||
| const failed = validateJobs.filter(j => j.conclusion === 'failure').length; | ||
| const total = validateJobs.length; | ||
|
|
||
| let summary = `# Community Plugin Validation Report\n\n`; | ||
| summary += `**${passed}/${total} passed** | ${failed} failed\n\n`; | ||
| summary += `| Plugin | Platform | Status |\n|--------|----------|--------|\n`; | ||
|
|
||
| for (const job of validateJobs) { | ||
| const icon = job.conclusion === 'success' ? '✅' : '❌'; | ||
| summary += `| ${job.name} | | ${icon} ${job.conclusion} |\n`; | ||
| } | ||
|
|
||
| await core.summary.addRaw(summary).write(); | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.