Skip to content

Commit

Permalink
Try accessing MATRIX_DIR another way
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Apr 18, 2024
1 parent 27971c2 commit b1403ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
DOTNET_VERSION: '6.x'
MATRIX_DIR: |
( "Annotations/Annotations/",
'[ "Annotations/Annotations/",
"Annotations/InkAnnotations/",
"Annotations/LinkAnnotation/",
"Annotations/PolygonAnnotations/",
Expand Down Expand Up @@ -95,7 +95,7 @@ env:
"Text/RegexExtractText/",
"Text/RegexTextSearch/",
"Text/TextExtract/"
)
]'
jobs:
run-samples-windows:
Expand All @@ -106,7 +106,7 @@ jobs:
strategy:
fail-fast: false
matrix:
dir: ${{env.MATRIX_DIR}}
dir: ${{ fromJSON(env.MATRIX_DIR) }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
strategy:
fail-fast: false
matrix:
dir: ${{env.MATRIX_DIR}}
dir: ${{ fromJSON(env.MATRIX_DIR) }}
needs: [run-samples-windows]
steps:
- name: Checkout
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
runs-on: macos-14
strategy:
matrix:
dir: ${{env.MATRIX_DIR}}
dir: ${{ fromJSON(env.MATRIX_DIR) }}
needs: [run-samples-ubuntu]
steps:
- name: Checkout
Expand Down

0 comments on commit b1403ba

Please sign in to comment.