Skip to content

Commit 4f98440

Browse files
Update sdkbuild2run.yml
1 parent d380712 commit 4f98440

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/sdkbuild2run.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will build a .NET project
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3-
41
name: .NET
52

63
on:
@@ -11,23 +8,26 @@ on:
118

129
jobs:
1310
build:
14-
1511
runs-on: windows-latest
1612
env:
1713
ProductClientId: ${{ secrets.PRODUCTCLIENTID }}
1814
ProductClientSecret: ${{ secrets.PRODUCTCLIENTSECRET }}
15+
1916
steps:
2017
- uses: actions/checkout@v4
2118

2219
- name: Setup .NET
2320
uses: actions/setup-dotnet@v4
2421
with:
2522
dotnet-version: 8.0.300
23+
2624
- name: Restore dependencies
27-
run: dotnet restore
25+
# run: dotnet restore Aspose.Cells.Cloud.SDK/Aspose.Cells.Cloud.SDK.csproj
26+
2827
- name: Build
29-
run: dotnet build --no-restore
28+
run: dotnet build --no-restore -p:Configuration=Release
29+
3030
- name: Run Examples
3131
run: |
3232
cd examples
33-
dotnet test .\Example_QuickStart.cs
33+
dotnet test Example_QuickStart.csproj --verbosity normal

0 commit comments

Comments
 (0)