From a7dfd75d5a680af72c4dae352e312e7d030e7a8d Mon Sep 17 00:00:00 2001 From: Sylvain Maillard Date: Fri, 3 Nov 2023 14:40:23 +0100 Subject: [PATCH] Update build-telerik-showcase.yml --- .github/workflows/build-telerik-showcase.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-telerik-showcase.yml b/.github/workflows/build-telerik-showcase.yml index b093107..bb801c6 100644 --- a/.github/workflows/build-telerik-showcase.yml +++ b/.github/workflows/build-telerik-showcase.yml @@ -13,7 +13,7 @@ on: inputs: telerik-version: description: 'Telerik version to use' - default: '1.2.0-private-2023-05-31-073125-3cda9ca1' + default: '2.0.0' required: true telerik-options: type: choice @@ -57,14 +57,14 @@ jobs: run: | nuget install OpenSilver.Compatibility.TelerikUI.4.6 -source https://www.myget.org/F/opensilver-private/api/v3/index.json -source https://www.myget.org/F/opensilver-private-rc/api/v3/index.json -source https://www.myget.org/F/opensilver/api/v3/index.json -source https://api.nuget.org/v3/index.json -version ${{ github.event.inputs.telerik-version }} -output TelerikInstall ls TelerikInstall - $opensilver_version = ls TelerikInstall -Filter OpenSilver.1* | % { $_.name } + $opensilver_version = ls TelerikInstall -Filter OpenSilver.2* | % { $_.name } $opensilver_version = $opensilver_version.Split(".", 2)[1] echo $opensilver_version echo "opensilver_version=$opensilver_version" >> $env:GITHUB_ENV - name: Replace text run: | sed -zi 's\1.1.0\${{ github.event.inputs.telerik-version }}\2g' OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI.csproj - sed -i 's\OpenSilver.Compatibility.TelerikUI\OpenSilver.Compatibility.TelerikUI.4.6\g' OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI.csproj + # sed -i --debug 's\OpenSilver.Compatibility.TelerikUI\OpenSilver.Compatibility.TelerikUI.4.6\g' OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI.csproj sed -i 's\1.1.0\${{ env.opensilver_version }}\g' OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI.csproj sed -i 's\1.1.0\${{ env.opensilver_version }}\g' OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI.Browser/OpenSilver.Samples.TelerikUI.Browser.csproj - name: Restore Showcase packages @@ -78,4 +78,4 @@ jobs: sed -i 's\USERNAME\${{ secrets.OPENSILVERDEMOSUSERNAME }}\g' OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI.Browser/Properties/PublishProfiles/publish.pubxml - name: Build and Deploy run: | - msbuild OpenSilver.Samples.TelerikUI\OpenSilver.Samples.TelerikUI.Browser\OpenSilver.Samples.TelerikUI.Browser.csproj /p:DeployOnBuild=true /p:PublishProfile="OpenSilver.Samples.TelerikUI\OpenSilver.Samples.TelerikUI.Browser\Properties\PublishProfiles\publish.pubxml" /p:Password=${{ secrets.OPENSILVERDEMOSUSERPWD }} /p:DeployIisAppPath=${{ env.apath }} /p:MSDeployServiceURL=${{ env.deploy-service-url }} /p:Configuration=Release + msbuild OpenSilver.Samples.TelerikUI\OpenSilver.Samples.TelerikUI.Browser\OpenSilver.Samples.TelerikUI.Browser.csproj /p:DeployOnBuild=false /p:PublishProfile="OpenSilver.Samples.TelerikUI\OpenSilver.Samples.TelerikUI.Browser\Properties\PublishProfiles\publish.pubxml" /p:Password=${{ secrets.OPENSILVERDEMOSUSERPWD }} /p:DeployIisAppPath=${{ env.apath }} /p:MSDeployServiceURL=${{ env.deploy-service-url }} /p:Configuration=Release