Skip to content

Commit 28507da

Browse files
Create sdkbuild2run.yml
1 parent 2c0442b commit 28507da

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/sdkbuild2run.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
4+
name: .NET
5+
6+
on:
7+
push:
8+
branches: [ "master" ]
9+
pull_request:
10+
branches: [ "master" ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: windows-latest
16+
env:
17+
ProductClientId: ${{ secrets.PRODUCTCLIENTID }}
18+
ProductClientSecret: ${{ secrets.PRODUCTCLIENTSECRET }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Setup .NET
23+
uses: actions/setup-dotnet@v4
24+
with:
25+
dotnet-version: 8.0.3
26+
- name: Restore dependencies
27+
run: dotnet restore
28+
- name: Build
29+
run: dotnet build --no-restore
30+
- name: Run Examples
31+
run: |
32+
cd Aspose.Cells.Cloud.SDK.Examples
33+
dotnet test .\Example_QuickStart.cs

0 commit comments

Comments
 (0)