Skip to content

Commit 04e6957

Browse files
committed
Try to fix caching
1 parent b246827 commit 04e6957

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,11 +481,10 @@ jobs:
481481
python check_hyperspy_latest.py
482482
483483
- name: Get rosettasciio tests data location
484-
shell: powershell
484+
shell: bash
485485
run: |
486-
& "${{ env.WP_DIR_NAME }}\scripts\env.bat"
487-
$output = python -c "from rsciio.tests import registry; data_path = str(registry.TESTS_PATH / 'data'); print(f'ROSETTASCIIO_TEST_DATA={data_path}')"
488-
Add-Content -Path $env:GITHUB_ENV -Value $output
486+
".\${{ env.WP_DIR_NAME }}\scripts\env.bat"
487+
python -c "from rsciio.tests import registry; print(f'ROSETTASCIIO_TEST_DATA={str(registry.TESTS_PATH / \"data\") }')" >> $GITHUB_ENV
489488
490489
- name: Cache rosettasciio data
491490
uses: actions/cache@v4

0 commit comments

Comments
 (0)