File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11name : " Package"
22
33on :
4- # workflow_dispatch: # manually triggered
4+ workflow_dispatch : # manually triggered
55 workflow_run :
66 workflows : ["Release"]
77 types : [completed]
2121 args : ' --target x86_64-apple-darwin'
2222 - platform : ' ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
2323 args : ' '
24- # - platform: 'windows-latest'
25- # args: ''
24+ - platform : ' windows-latest'
25+ args : ' '
2626 runs-on : ${{ matrix.platform }}
2727 steps :
2828 - uses : actions/checkout@v4
3636 file src/e3sm_quickview/data/globe.vtk
3737 file src/e3sm_quickview/data/connectivity.nc
3838 echo "LFS file check complete"
39+ shell : bash -l {0}
3940
4041 - name : Get version for tagging
4142 id : get_version
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ dependencies = [
3030 " trame-dataclass>=1.2" ,
3131 " trame-components" ,
3232 " trame-tauri>=0.6.2" ,
33+ " Pillow" ,
3334]
3435
3536[project .optional-dependencies ]
Original file line number Diff line number Diff line change 55
66pip install .
77
8+ PVPYTHON_PATH=$( which pvpython.exe) || PVPYTHON_PATH=$( which pvpython)
9+
810python -m PyInstaller --clean --noconfirm \
911 --distpath src-tauri \
1012 --name server --hidden-import pkgutil \
@@ -19,7 +21,7 @@ python -m PyInstaller --clean --noconfirm \
1921 --collect-all paraview \
2022 --collect-all e3sm_quickview \
2123 --hidden-import pkgutil \
22- --add-binary=" $( which pvpython ) :." \
24+ --add-binary=" $PVPYTHON_PATH :." \
2325 src/e3sm_quickview/app.py
2426
2527# Generate trame www + quickview
You can’t perform that action at this time.
0 commit comments