fix: connect the environment in release action (#2)

* bugfix: fix the release action

* bugfix: fix the release action

* bugfix: fix the release action

* bugfix: fix the release action

* bugfix: fix the release action
This commit is contained in:
tomsun28 2025-07-14 10:07:57 +08:00 committed by GitHub
parent 0b09e46478
commit 285baa7082
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 5 deletions

View file

@ -1,11 +1,20 @@
# Description
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
<!-- Thanks for opening a Pull Request, Describe Your PR Here -->
## Checklist
<!-- Before submitting your PR, there are a few things you can do to make sure it goes smoothly: -->
- [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/THUDM/z-ai-sdk-java/blob/main/CONTRIBUTING.md).
- [ ] Make your Pull Request title in the <https://www.conventionalcommits.org/> specification.
- [ ] Ensure the tests pass (Run `mvn clean test` from the repository root)
- [ ] Appropriate docs were updated (if necessary)
Fixes #<issue_number_goes_here>
Fixes #<issue_number>
## Add or Update API
- [ ] I have added the necessary test case and all cases have passed.

View file

@ -9,6 +9,7 @@ jobs:
uses:
./.github/workflows/build.yml
publish-release:
environment: MAVEN_DEPLOY
needs:
- pre-build
runs-on: ubuntu-latest

View file

@ -1,6 +1,6 @@
# Z.ai Open Platform Java SDK
[![Maven Central](https://img.shields.io/maven-central/v/ai.z/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk)
[![Maven Central](https://img.shields.io/maven-central/v/ai.z.openapi/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Java](https://img.shields.io/badge/java-1.8%2B-orange.svg)](https://www.oracle.com/java/)

View file

@ -1,6 +1,6 @@
# Z.ai Open Platform Java SDK
[![Maven Central](https://img.shields.io/maven-central/v/ai.z/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk)
[![Maven Central](https://img.shields.io/maven-central/v/ai.z.openapi/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Java](https://img.shields.io/badge/java-1.8%2B-orange.svg)](https://www.oracle.com/java/)