CD #9
Workflow file for this run
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
| # Binding Simple CD - Template | |
| # This template is for pure .NET bindings (no XML update) to publish NuGets to Nuget.org. | |
| # Copy this file to your repository as `.github/workflows/CD.yml` and customize the inputs below. | |
| name: CD | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| skip-assets-publishing: | |
| description: 'Skip assets publishing' | |
| required: false | |
| type: boolean | |
| default: false | |
| jobs: | |
| cd: | |
| if: github.event_name != 'schedule' || github.ref == 'refs/heads/main' | |
| uses: EvergineTeam/evergine-standards/.github/workflows/binding-simple-cd.yml@v2 | |
| with: | |
| generator-project: "MeshOptimizerGen/MeshOptimizerGen/MeshOptimizerGen.csproj" # Path to your generator .csproj | |
| generator-name: "MeshOptimizer" # Name of your generator executable | |
| binding-project: "MeshOptimizerGen/Evergine.Bindings.MeshOptimizer/Evergine.Bindings.MeshOptimizer.csproj" # Path to your binding .csproj | |
| target-framework: "net8.0" # Target framework for generator/binding | |
| dotnet-version: "8.x" # .NET SDK version | |
| nuget-version: "6.x" # NuGet CLI version | |
| runtime-identifier: "linux-x64" # Runtime identifier (win-x64, linux-x64, etc.) | |
| build-configuration: "Release" # Build configuration (Release, Debug, etc.) | |
| revision: ${{ github.run_number }} # Revision for date-based version (bindings style). Use with bindings. | |
| publish-enabled: ${{ !inputs.skip-assets-publishing }} # Publish NuGets to Nuget.org | |
| enable-email-notifications: true # Enable email notifications on failure | |
| secrets: | |
| NUGET_UPLOAD_TOKEN: ${{ secrets.EVERGINE_NUGETORG_TOKEN }} | |
| WAVE_SENDGRID_TOKEN: ${{ secrets.WAVE_SENDGRID_TOKEN }} | |
| EVERGINE_EMAILREPORT_LIST: ${{ secrets.EVERGINE_EMAILREPORT_LIST }} | |
| EVERGINE_EMAIL: ${{ secrets.EVERGINE_EMAIL }} | |
| # Tips: | |
| # - For direct version (add-ons style): | |
| # version: "3.4.22.288-local" | |
| # - For date-based version (bindings style): | |
| # revision: "" # Uses github.run_number or custom logic |