Skip to content
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

Add PTIX Support #125

Merged
merged 12 commits into from
Jun 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update PTIX package name
  • Loading branch information
trgibeau committed Jun 6, 2024
commit 9be9302b27fb7d8324894681b36591c81d3d80d8
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,19 @@ jobs:

foreach ($plugin in $dirs.Keys) {
$sourcePath = $dirs[$plugin]
plugintool pack -s $sourcePath -o "$sourcePath/$plugin.ptix"
$pluginManifestPath = "$sourcePath/pluginManifest.json"

if (!(Test-Path $pluginManifestPath)) {
Write-Error "pluginManifest.json not found in $sourcePath"
}

$pluginManifest = Get-Content -Path $pluginManifestPath | ConvertFrom-Json

$pluginId = $pluginManifest.identity.id
$pluginVersion = $pluginManifest.identity.version
$packageName = "$pluginId-$pluginVersion.ptix"

plugintool pack -s $sourcePath -o "$sourcePath/$packageName"
}

- name: Copy files and prepare artifacts
Expand Down
Loading