File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
---
3
3
name : test-n-build
4
4
on :
5
+ workflow_dispatch :
5
6
push :
6
7
tags :
7
8
- v*
77
78
working-directory : ./src/py/
78
79
name : Upload release to TestPyPI
79
80
needs : super-test
80
- if : always() && !cancelled() && !failure()
81
+ if : |
82
+ always() &&
83
+ !cancelled() &&
84
+ !failure() &&
85
+ startsWith(github.ref, 'refs/tags/')
81
86
runs-on : ubuntu-latest
82
87
environment :
83
88
name : testpypi
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ def _load_figures_from_paths(paths: list[Path]):
158
158
args = parser .parse_args ()
159
159
160
160
if not Path (args .output ).is_dir ():
161
- raise ValueError ("Specified output must be existing directory." )
161
+ raise ValueError (f "Specified output must be existing directory. Is { args . output !s } " )
162
162
163
163
164
164
# Function to process the images
You can’t perform that action at this time.
0 commit comments