Skip to content

Commit

Permalink
Update CI and pom.xml (#74)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy-Grigg <Andy-Grigg@users.noreply.github.com>
  • Loading branch information
Andy-Grigg and Andy-Grigg committed Jun 14, 2023
1 parent f526da0 commit 711d231
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 15 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/generate_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,9 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.actor != 'pyansys-bot[bot]' }}
steps:
- name: "Get Bot Application Token"
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v2
with:
application_id: ${{ secrets.BOT_APPLICATION_ID }}
application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }}

- name: "Checkout repository"
uses: actions/checkout@v3
with:
token: ${{ steps.get_workflow_token.outputs.token }}
ref: ${{ github.event.pull_request.head.ref }}

- name: "Set up JDK 11"
Expand Down
4 changes: 2 additions & 2 deletions .m2/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</repository>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/pyansys/openapi-client-template</url>
<url>https://maven.pkg.github.com/ansys/openapi-client-template</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand All @@ -30,7 +30,7 @@
</pluginRepository>
<pluginRepository>
<id>github</id>
<url>https://maven.pkg.github.com/pyansys/openapi-client-template</url>
<url>https://maven.pkg.github.com/ansys/openapi-client-template</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand Down
2 changes: 1 addition & 1 deletion ansys-grantami-serverapi-openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Autogenerated client library for the Granta MI Server API.

Direct use of this package is unsupported, please use [ansys-grantami-recordlists](https://github.com/pyansys/grantami-recordlists) instead.
Direct use of this package is unsupported, please use [ansys-grantami-recordlists](https://github.com/ansys/grantami-recordlists) instead.

This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.

Expand Down
2 changes: 0 additions & 2 deletions ansys-grantami-serverapi-openapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ dependencies = [

[project.urls]
Homepage = "https://github.com/ansys/grantami-serverapi-openapi"
Source = "https://github.com/ansys/grantami-serverapi-openapi"
Documentation = "https://github.com/ansys/grantami-serverapi-openapi"

[project.optional-dependencies]
test = [
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<maven-plugin-version>1.0.0</maven-plugin-version>
<base-package-version>0.1.0</base-package-version>
<yaml-filename>server-api.json</yaml-filename>
<swagger-template-version>1.5.1-SNAPSHOT</swagger-template-version>
<swagger-template-version>1.6.0-SNAPSHOT</swagger-template-version>
<package-name>ansys-grantami-serverapi-openapi</package-name>
<package-import-path>ansys.grantami.serverapi_openapi</package-import-path>
<package-description>Autogenerated client library for the Granta MI Server API.</package-description>
Expand Down Expand Up @@ -41,7 +41,8 @@
<projectName>${package-name}</projectName>
<projectDescription>${package-description}</projectDescription>
<pythonicPackageName>ansys-grantami-recordlists</pythonicPackageName>
<pythonicPackageUrl>https://github.com/pyansys/grantami-recordlists</pythonicPackageUrl>
<pythonicPackageUrl>https://github.com/ansys/grantami-recordlists</pythonicPackageUrl>
<homepageUrl>https://github.com/ansys/grantami-serverapi-openapi</homepageUrl>
<packageVersion>${package-version}</packageVersion>
</configOptions>
</configuration>
Expand Down

0 comments on commit 711d231

Please sign in to comment.