File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1515 - name : Setup latest version of dotnet
1616 uses : actions/setup-dotnet@v4
1717 - name : Build nuget with latest version
18- run : ./scripts/pack-nuget.bash "examples/nuget-packages"
18+ run : |
19+ ./scripts/pack-nuget.bash
20+ cp *.nupkg examples/nuget-packages
1921 - name : Build examples with new nuget
2022 run : dotnet build --warnaserror "examples/examples.sln"
23+ - name : Run documentation code snippets
24+ run : |
25+ chmod +x scripts/*
26+ ./scripts/run_snippets.sh
Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ public static async Task Main(string[] args)
1515 var clientId = "Client Id from https://dashboard.aspose.cloud/applications" ;
1616 var clientSecret = "Client Secret from https://dashboard.aspose.cloud/applications" ;
1717
18+ //Check the clientId is changed to not break github ci pipeline
19+ if ( clientId . StartsWith ( "Client Id" ) )
20+ {
21+ Console . WriteLine ( "Client Id not changed. Skip this snippet test." ) ;
22+ return ;
23+
24+ }
1825 using var client = new HttpClient
1926 {
2027 BaseAddress = new Uri ( "https://id.aspose.cloud/" )
You can’t perform that action at this time.
0 commit comments