Skip to content

Commit

Permalink
Add step to run samples
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Feb 28, 2024
1 parent e18e155 commit 63d288b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-dotnet-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,24 @@ jobs:
dir: [
'Annotations/Annotations/'
]
dlls: [
'Annotations.dll'
]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Build samples
working-directory: ${{ matrix.dir }}
run: dotnet build -c Release *.csproj
- name: List files
run: |
ls ${{matrix.dir}}
- name: Build samples
- name: Run samples
working-directory: ${{ matrix.dir }}
run: |
dotnet build -c Release *.csproj
ls ${{ github.workspace }}/${{ matrix.dir }}/bin/Release/net6.0/${{ matrix.dll}}
dotnet ${{ github.workspace }}/${{ matrix.dir }}/bin/Release/net6.0/${{ matrix.dll}}

0 comments on commit 63d288b

Please sign in to comment.