Skip to content

Commit

Permalink
Modify logic for running samples
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Feb 28, 2024
1 parent 7cb01c4 commit ed72157
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test-dotnet-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ jobs:
'Annotations/PolygonAnnotations/',
'Annotations/PolyLineAnnotations/'
]
dlls: [
'Annotations.dll',
'InkAnnotations.dll',
'LinkAnnotation.dll',
'PolygonAnnotations.dll',
'PolyLineAnnotations.dll'
]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -47,4 +40,7 @@ jobs:
- name: Run samples
working-directory: ${{matrix.dir}}
run: |
dotnet bin/Release/net6.0/${{ matrix.dlls}}
file_path="${{ matrix.dir }}"
dll_name=$(echo "$file_path" | cut -d'/' -f2)
echo "Now running ${{ dll_name }}.dll"
dotnet bin/Release/net6.0/${{ dll_name }}

0 comments on commit ed72157

Please sign in to comment.