Skip to content

Commit a35af8c

Browse files
committed
CI: try fixing windows path
1 parent 55ac1f0 commit a35af8c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,21 @@ jobs:
1616
tests:
1717
name: ${{ matrix.environment }} ${{ matrix.runs-on }}
1818
runs-on: ${{ matrix.runs-on }}
19-
env:
20-
XSREF_TABLES_PATH: "${{ github.workspace }}/xsref/tables"
2119
strategy:
2220
fail-fast: false
2321
matrix:
2422
environment: [tests-ci]
2523
runs-on: [ubuntu-latest, macos-latest, windows-latest]
2624

2725
steps:
26+
- name: Set XSREF_TABLES_PATH
27+
shell: bash
28+
run: |
29+
if [ "$RUNNER_OS" == "Windows" ]; then
30+
echo "XSREF_TABLES_PATH=${{ github.workspace }}\\xsref\\tables" >> $GITHUB_ENV
31+
else
32+
echo "XSREF_TABLES_PATH=${{ github.workspace }}/xsref/tables" >> $GITHUB_ENV
33+
fi
2834
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2935
- uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
3036
with:

0 commit comments

Comments
 (0)