Skip to content

Commit aeaaad2

Browse files
committed
Try to fix caching
1 parent aaece54 commit aeaaad2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,9 @@ jobs:
496496
python check_hyperspy_latest.py
497497
498498
- name: Get rosettasciio tests data location
499-
shell: bash
500499
run: |
501-
bash "${{ env.WP_DIR_NAME }}\scripts\env.bat"
502-
python -c "from rsciio.tests import registry; print(f'ROSETTASCIIO_TEST_DATA={str(registry.TESTS_PATH / \"data\") }')" >> $GITHUB_ENV
500+
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
501+
python -c "from rsciio.tests import registry; data_path=str(registry.TESTS_PATH / 'data'); print(f'ROSETTASCIIO_TEST_DATA={data_path}')">> %GITHUB_ENV%
503502
504503
- name: Cache rosettasciio data
505504
uses: actions/cache@v4

0 commit comments

Comments
 (0)