From bf1a24d5221a6b8caa1afd7a1565043f494ebce8 Mon Sep 17 00:00:00 2001 From: Sahara Yousuf Date: Wed, 17 Apr 2024 11:43:04 -0500 Subject: [PATCH] Add stage to view .lic file --- .github/workflows/test-dotnet-samples.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/test-dotnet-samples.yml b/.github/workflows/test-dotnet-samples.yml index cafb7d6..e7262bb 100644 --- a/.github/workflows/test-dotnet-samples.yml +++ b/.github/workflows/test-dotnet-samples.yml @@ -194,3 +194,14 @@ jobs: - name: List files run: | ls ${{matrix.dir}} + + - name: Test + working-directory: ${{matrix.dir}} + run: | + if [ "$RUNNER_OS" == "Windows" ]; then + cat bin/Release/net6.0/runtimes/win-x64/native/apdfl.lic + elif [ "$RUNNER_OS" == "Linux" ]; then + cat bin/Release/net6.0/runtimes/linux-x64/native/APDFL.lic + else + cat bin/Release/net6.0/runtimes/osx-arm64/native/apdfl.lic + fi