Skip to content

Commit

Permalink
CI: restore DevExtreme.AspNet.Core from local folder, even if the ver…
Browse files Browse the repository at this point in the history
…sion is not stable (#3124)
  • Loading branch information
alexslavr authored Jan 26, 2024
1 parent f0bcbea commit 8539459
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion NetCoreDemos/DevExtreme.NETCore.Demos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.12" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.12" />
<PackageReference Include="DevExtreme.AspNet.Data" Version="3.0.0" />
<PackageReference Include="DevExtreme.AspNet.Core" Version="23.2.0" />
<PackageReference Include="DevExtreme.AspNet.Core" Version="23.2.*-*" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.12" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="6.0.12" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.7" />
Expand Down
9 changes: 2 additions & 7 deletions gulpfile.js/copy-asp-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ function runBuild(callback) {
}

function restorePackages(callback) {
systemSync('dotnet restore NetCoreDemos');
callback();
}

function installAspNetCorePackage(callback) {
systemSync('dotnet add NetCoreDemos package DevExtreme.AspNet.Core --prerelease --source NetCoreDemos/NuGet/');
systemSync('cd NetCoreDemos && dotnet restore');
callback();
}

Expand Down Expand Up @@ -92,5 +87,5 @@ exports.copyAspFiles = series(
() => src(`${aspnetPackagesPath}/*.nupkg`)
.pipe(dest('NetCoreDemos/Nuget')),
),
installAspNetCorePackage,
restorePackages,
);

0 comments on commit 8539459

Please sign in to comment.