File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed
Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1717jobs :
1818 cd :
1919 if : github.event_name != 'schedule' || github.ref == 'refs/heads/main'
20- uses : EvergineTeam/evergine-standards/.github/workflows/binding-simple-cd.yml@main
20+ uses : EvergineTeam/evergine-standards/.github/workflows/binding-simple-cd.yml@v2
2121 with :
2222 generator-project : " MeshOptimizerGen/MeshOptimizerGen/MeshOptimizerGen.csproj" # Path to your generator .csproj
2323 generator-name : " MeshOptimizer" # Name of your generator executable
2424 binding-project : " MeshOptimizerGen/Evergine.Bindings.MeshOptimizer/Evergine.Bindings.MeshOptimizer.csproj" # Path to your binding .csproj
2525 target-framework : " net8.0" # Target framework for generator/binding
2626 dotnet-version : " 8.x" # .NET SDK version
2727 nuget-version : " 6.x" # NuGet CLI version
28- runtime-identifier : " win -x64" # Runtime identifier (win-x64, linux-x64, etc.)
28+ runtime-identifier : " linux -x64" # Runtime identifier (win-x64, linux-x64, etc.)
2929 build-configuration : " Release" # Build configuration (Release, Debug, etc.)
3030 revision : ${{ github.run_number }} # Revision for date-based version (bindings style). Use with bindings.
3131 publish-enabled : ${{ !inputs.skip-assets-publishing }} # Publish NuGets to Nuget.org
Original file line number Diff line number Diff line change 2020
2121jobs :
2222 ci :
23- uses : EvergineTeam/evergine-standards/.github/workflows/binding-common-ci.yml@main
23+ uses : EvergineTeam/evergine-standards/.github/workflows/binding-common-ci.yml@v2
2424 with :
2525 generator-project : " MeshOptimizerGen/MeshOptimizerGen/MeshOptimizerGen.csproj" # Path to your generator .csproj
2626 generator-name : " MeshOptimizer" # Name of your generator executable
2727 binding-project : " MeshOptimizerGen/Evergine.Bindings.MeshOptimizer/Evergine.Bindings.MeshOptimizer.csproj" # Path to your binding .csproj
2828 target-framework : " net8.0" # Target framework for generator/binding
29- runtime-identifier : " win -x64" # Runtime identifier (win-x64, linux-x64, etc.)
29+ runtime-identifier : " linux -x64" # Runtime identifier (win-x64, linux-x64, etc.)
3030 build-configuration : " Release" # Build configuration (Release, Debug, etc.)
3131 nuget-artifacts : ${{ inputs.publish-artifacts || false }} # Upload NuGets as workflow artifacts
3232 revision : ${{ github.run_number }} # Revision for date-based version (bindings style). Use with bindings.
Original file line number Diff line number Diff line change 4545 permissions :
4646 contents : write # allow push commits
4747 pull-requests : write
48- uses : EvergineTeam/evergine-standards/.github/workflows/_sync-standards-reusable.yml@main
48+ uses : EvergineTeam/evergine-standards/.github/workflows/_sync-standards-reusable.yml@v2
4949 with :
5050 org : ${{ github.event.inputs.org || 'EvergineTeam' }}
5151 repo : ${{ github.event.inputs.repo || 'evergine-standards' }}
Original file line number Diff line number Diff line change @@ -117,7 +117,13 @@ $buildPath = Get-BuildOutputPath $generatorDir $BuildConfiguration $TargetFramew
117117
118118Push-Location $buildPath
119119try {
120- & " .\publish\$projectName .exe"
120+ # Detect platform and set executable path
121+ if ($IsWindows ) {
122+ $exePath = " .\publish\$projectName .exe"
123+ } else {
124+ $exePath = " ./publish/$projectName "
125+ }
126+ & $exePath
121127 if ($LASTEXITCODE -eq 0 ) {
122128 LogDebug " END $GeneratorName binding generator process"
123129 }
You can’t perform that action at this time.
0 commit comments