Skip to content

Commit 9793468

Browse files
Ivan KamkinIvan Kamkin
authored andcommitted
Change build nuget to local
1 parent 4410491 commit 9793468

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/net-framework.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030

31+
- name: Setup .NET 10 SDK
32+
uses: actions/setup-dotnet@v4
33+
with:
34+
dotnet-version: '10.0.x'
35+
3136
- name: Setup MSBuild
3237
uses: microsoft/setup-msbuild@v1.1
3338

@@ -36,9 +41,8 @@ jobs:
3641

3742
- name: Pack nuget
3843
run: |
39-
docker build . --file Dockerfile -t aspose-barcode-cloud-dotnet:test-nuget
40-
$containerId = docker run -di --rm aspose-barcode-cloud-dotnet:test-nuget
41-
docker cp "${containerId}:/packed/*.nupkg" NetFrameworkTests
44+
msbuild -restore -t:clean,rebuild,pack -p:Configuration=Release
45+
copy src\bin\Release\*.nupkg NetFrameworkTests
4246
4347
- name: Build test project
4448
run: msbuild NetFrameworkTests\Aspose.BarCode.Cloud.Sdk.NetFrameworkTests.csproj -restore -p:Configuration=Release

0 commit comments

Comments
 (0)