chore: update workflow again #4
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
| name: Build Mvc, Razor Pages and ContentSecurityPolicy Solutions | |
| on: | |
| push | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| env: | |
| TELERIK_LICENSE: ${{ secrets.TELERIK_LICENSE }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 9.x.x | |
| - name: Restore NuGet Packages for Telerik.Examples.Mvc | |
| run: | | |
| dotnet restore Telerik.Examples.Mvc/Telerik.Examples.Mvc/Telerik.Examples.Mvc.csproj --configfile NuGet.Config -r win-x64 | |
| env: | |
| TELERIK_NUGET_KEY: ${{secrets.TELERIK_NUGET_KEY}} | |
| - name: Build Telerik.Examples.Mvc Project | |
| run: dotnet build Telerik.Examples.Mvc/Telerik.Examples.Mvc/Telerik.Examples.Mvc.csproj -r win-x64 --no-restore | |
| env: | |
| TELERIK_LICENSE: ${{secrets.TELERIK_LICENSE_KEY}} |