File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
src/ansys/api/mechanical/v0 Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 17
17
name : Build package
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : actions/checkout@v2
20
+ - uses : actions/checkout@v4
21
21
- name : Setup Python
22
- uses : actions/setup-python@v2
22
+ uses : actions/setup-python@v5
23
23
with :
24
24
python-version : ${{ env.MAIN_PYTHON_VERSION }}
25
25
- name : Install build requirements
37
37
python -c "import ansys.api.mechanical; print('Successfully imported ansys.api.mechanical')"
38
38
python -c "from ansys.api.mechanical import __version__; print(__version__)"
39
39
- name : Upload packages
40
- uses : actions/upload-artifact@v2
40
+ uses : actions/upload-artifact@v4
41
41
with :
42
42
name : ansys-api-mechanical-packages
43
43
path : dist/
@@ -49,11 +49,11 @@ jobs:
49
49
runs-on : ubuntu-latest
50
50
steps :
51
51
- name : Set up Python
52
- uses : actions/setup-python@v2
52
+ uses : actions/setup-python@v5
53
53
with :
54
54
python-version : ${{ env.MAIN_PYTHON_VERSION }}
55
55
56
- - uses : actions/download-artifact@v2
56
+ - uses : actions/download-artifact@v4
57
57
58
58
- name : Display structure of downloaded files
59
59
run : ls -R
68
68
TWINE_PASSWORD : ${{ secrets.ANSYS_API_MECHANICAL_PYPI_TOKEN }}
69
69
70
70
- name : Release
71
- uses : softprops/action-gh-release@v1
71
+ uses : softprops/action-gh-release@v2
72
72
with :
73
73
generate_release_notes : true
74
74
files : |
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ enum LoggerSeverity
16
16
}
17
17
18
18
// Send RunScript message to run jscript / python script code.
19
- message RunScriptRequest
19
+ message RunScriptRequest
20
20
{
21
21
// script_code can be jscript or python script
22
22
string script_code = 1 ;
@@ -28,7 +28,12 @@ message RunScriptRequest
28
28
LoggerSeverity logger_severity = 3 ;
29
29
30
30
// progress interval at which to send the log_info (in milli seconds)
31
- int32 progress_interval = 4 ;
31
+ int32 progress_interval = 4 ;
32
+
33
+ // 1 - new behavior
34
+ // 0 - old behavior
35
+ // other values - reserved
36
+ int32 python_behavior = 5 ;
32
37
}
33
38
34
39
// Receive RunScriptResponse when you run jscript or python script code.
You can’t perform that action at this time.
0 commit comments