Skip to content

Commit 3a9403f

Browse files
committed
Try to fix caching
1 parent d797a5a commit 3a9403f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ jobs:
437437
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
438438
pip list
439439
440-
- shell: bash -l {0}
441-
name: Set installer name
440+
- name: Set installer name
441+
shell: bash -l {0}
442442
env:
443443
VERSION: ${{ needs.create_release_job.outputs.VERSION }}
444444
run: |
@@ -481,9 +481,11 @@ jobs:
481481
python check_hyperspy_latest.py
482482
483483
- name: Get rosettasciio tests data location
484+
shell: powershell
484485
run: |
485-
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
486-
python -c "from rsciio.tests import registry; print(f'ROSETTASCIIO_TEST_DATA={str(registry.TESTS_PATH / \"data\") }')" >> $GITHUB_ENV
486+
& "${{ env.WP_DIR_NAME }}\scripts\env.bat"
487+
$output = python -c "from rsciio.tests import registry; print(f'ROSETTASCIIO_TEST_DATA={str(registry.TESTS_PATH / \"data\")}')"
488+
Add-Content -Path $env:GITHUB_ENV -Value $output
487489
488490
- name: Cache rosettasciio data
489491
uses: actions/cache@v4

0 commit comments

Comments
 (0)