From c4f0a7333478282b40cd3797fdecae91668d027b Mon Sep 17 00:00:00 2001 From: Rey DeLeon Date: Mon, 14 Apr 2025 14:38:04 -0600 Subject: [PATCH 1/3] Add Cooling Rate SIM coefficients --- ansys/api/additive/VERSION | 2 +- ansys/api/additive/v0/additive_domain.proto | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index 058d1bb..f629fe4 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -5.0.2-dev0 +5.0.3-dev0 diff --git a/ansys/api/additive/v0/additive_domain.proto b/ansys/api/additive/v0/additive_domain.proto index dfb3226..0dcaa18 100644 --- a/ansys/api/additive/v0/additive_domain.proto +++ b/ansys/api/additive/v0/additive_domain.proto @@ -70,6 +70,8 @@ message AdditiveMaterial { repeated ThermalPropertiesDataPoint thermal_properties_data_points = 35; repeated CharacteristicWidthDataPoint characteristic_width_data_points = 36; string description = 37; + double cooling_rate_sim_coeff_a = 38; + double cooling_rate_sim_coeff_b = 39; } message CharacteristicWidthDataPoint { From dcd019b5cd94a26e64d39e6fb5060ccac545382e Mon Sep 17 00:00:00 2001 From: Rey DeLeon Date: Mon, 14 Apr 2025 14:49:07 -0600 Subject: [PATCH 2/3] Update CI CD --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 733950d..c852651 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: name: Build python package runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 with: @@ -46,7 +46,7 @@ jobs: python -c "from ${{ env.PACKAGE_NAME }} import __version__; print(__version__)" - name: Upload packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ansys-api-additive-packages path: dist/ @@ -56,7 +56,7 @@ jobs: name: Build nuget package runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup dotnet uses: actions/setup-dotnet@v3 @@ -71,7 +71,7 @@ jobs: rm -rf nuget_package dotnet pack csharp/Ansys.Api.Additive.csproj -c Release -o nuget_package -p:Version=${version} - name: Upload package artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ansys-api-additive-packages path: nuget_package/ @@ -87,7 +87,7 @@ jobs: with: python-version: ${{ env.MAIN_PYTHON_VERSION }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - name: Display structure of downloaded files run: ls -R @@ -121,7 +121,7 @@ jobs: with: dotnet-version: ${{ env.DOTNET_VERSION }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - name: Display structure of downloaded files run: ls -R From a78fbf164483cd02c20f931e530773d63eb10e58 Mon Sep 17 00:00:00 2001 From: Rey DeLeon Date: Mon, 14 Apr 2025 15:06:09 -0600 Subject: [PATCH 3/3] Update CI CD --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c852651..c08439b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: - name: Upload packages uses: actions/upload-artifact@v4 with: - name: ansys-api-additive-packages + name: ansys-api-additive-packages-python path: dist/ retention-days: 7 @@ -73,7 +73,7 @@ jobs: - name: Upload package artifact uses: actions/upload-artifact@v4 with: - name: ansys-api-additive-packages + name: ansys-api-additive-packages-nuget path: nuget_package/ retention-days: 7