File tree Expand file tree Collapse file tree 4 files changed +32
-80
lines changed
Expand file tree Collapse file tree 4 files changed +32
-80
lines changed Original file line number Diff line number Diff line change 11name : GitHub CI
22
3- # run only on main branch. This avoids duplicated actions on PRs
3+ # run only on main branch. This avoids duplicated actions on PRs
44on :
55 pull_request :
66 push :
@@ -72,26 +72,14 @@ jobs:
7272 - name : Display structure of downloaded files
7373 run : ls -R
7474
75- # uncomment the following section to permit upload to public PyPI
76-
77- # - name: Upload to Public PyPi
78- # run: |
79- # pip install twine
80- # twine upload --skip-existing ./**/*.whl
81- # twine upload --skip-existing ./**/*.tar.gz
82- # env:
83- # TWINE_USERNAME: __token__
84- # TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
85-
86- - name : Upload to Private PyPi
75+ - name : Upload to Public PyPi
8776 run : |
8877 pip install twine
8978 twine upload --skip-existing ./**/*.whl
9079 twine upload --skip-existing ./**/*.tar.gz
9180 env :
92- TWINE_USERNAME : PAT
93- TWINE_PASSWORD : ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
94- TWINE_REPOSITORY_URL : https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload
81+ TWINE_USERNAME : __token__
82+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
9583
9684 - name : Release
9785 uses : softprops/action-gh-release@v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- 0.1.0
1+ 0.1.1
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ service Commands{
3535 rpc DownloadFile (Empty ) returns (DownloadFileResponse );
3636
3737 rpc DownloadFileStream (Empty ) returns (stream DownloadFileStreamResponse );
38+
39+ rpc CreateSphere (CreateSphereRequest ) returns (CreateSphereResponse );
40+
41+ rpc CreateTorus (CreateTorusRequest ) returns (CreateTorusResponse );
3842}
3943
4044message ProjectCurvesRequest {
@@ -152,4 +156,27 @@ message DownloadFileResponse {
152156
153157message DownloadFileStreamResponse {
154158 bytes chunk = 1 ;
159+ }
160+
161+ message CreateSphereRequest {
162+ string name = 1 ;
163+ string parent = 2 ;
164+ Point point = 3 ;
165+ double radius = 4 ;
166+ }
167+
168+ message CreateSphereResponse {
169+ string id = 1 ;
170+ }
171+
172+ message CreateTorusRequest {
173+ string name = 1 ;
174+ string parent = 2 ;
175+ double major_radius = 3 ;
176+ double minor_radius = 4 ;
177+ Frame frame = 5 ;
178+ }
179+
180+ message CreateTorusResponse {
181+ string id = 1 ;
155182}
You can’t perform that action at this time.
0 commit comments