Skip to content

Commit 51277ed

Browse files
RobPasMueMaxjreyMaxJPRey
authored
Update release/0.1 branch (#14)
Co-authored-by: Maxjrey <113357288+Maxjrey@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <maxime.rey@ansys.com>
1 parent 835077d commit 51277ed

File tree

4 files changed

+32
-80
lines changed

4 files changed

+32
-80
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 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
44
on:
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

.github/workflows/nightly-release.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

ansys/api/geometry/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0
1+
0.1.1

ansys/api/geometry/v0/commands.proto

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff 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

4044
message ProjectCurvesRequest {
@@ -152,4 +156,27 @@ message DownloadFileResponse {
152156

153157
message 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
}

0 commit comments

Comments
 (0)