Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: GitHub CI

# run only on main branch. This avoids duplicated actions on PRs
# run only on main branch. This avoids duplicated actions on PRs
on:
pull_request:
push:
Expand Down Expand Up @@ -72,26 +72,14 @@ jobs:
- name: Display structure of downloaded files
run: ls -R

# uncomment the following section to permit upload to public PyPI

# - name: Upload to Public PyPi
# run: |
# pip install twine
# twine upload --skip-existing ./**/*.whl
# twine upload --skip-existing ./**/*.tar.gz
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

- name: Upload to Private PyPi
- name: Upload to Public PyPi
run: |
pip install twine
twine upload --skip-existing ./**/*.whl
twine upload --skip-existing ./**/*.tar.gz
env:
TWINE_USERNAME: PAT
TWINE_PASSWORD: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

- name: Release
uses: softprops/action-gh-release@v1
Expand Down
63 changes: 0 additions & 63 deletions .github/workflows/nightly-release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion ansys/api/geometry/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1
27 changes: 27 additions & 0 deletions ansys/api/geometry/v0/commands.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ service Commands{
rpc DownloadFile(Empty) returns (DownloadFileResponse);

rpc DownloadFileStream(Empty) returns (stream DownloadFileStreamResponse);

rpc CreateSphere(CreateSphereRequest) returns (CreateSphereResponse);

rpc CreateTorus(CreateTorusRequest) returns (CreateTorusResponse);
}

message ProjectCurvesRequest {
Expand Down Expand Up @@ -152,4 +156,27 @@ message DownloadFileResponse {

message DownloadFileStreamResponse {
bytes chunk=1;
}

message CreateSphereRequest {
string name=1;
string parent=2;
Point point=3;
double radius=4;
}

message CreateSphereResponse {
string id=1;
}

message CreateTorusRequest {
string name=1;
string parent=2;
double major_radius=3;
double minor_radius=4;
Frame frame=5;
}

message CreateTorusResponse {
string id=1;
}