-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,6 @@ name: Release SDK to Maven Central | |
|
||
on: | ||
workflow_dispatch: | ||
# inputs: | ||
# version: | ||
# description: | | ||
# The version to release. | ||
# Add -SNAPSHOT to release a snapshot version. | ||
# default: '0.0.1-SNAPSHOT' | ||
|
||
jobs: | ||
release-sdk: | ||
|
@@ -18,37 +12,12 @@ jobs: | |
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: 11 | ||
java-version: 21 | ||
distribution: 'temurin' | ||
server-id: oss-sonatype | ||
server-username: SONATYPE_USERNAME | ||
server-password: SONATYPE_PASSWORD | ||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
|
||
# - name: Prepare Environment and Version | ||
# id: prepare | ||
# run: | | ||
# git config user.name s-github-actions | ||
# git config user.email [email protected] | ||
# echo "branch_name=release/${{ inputs.version }}" >> $GITHUB_OUTPUT | ||
|
||
# - name: Prepare Release | ||
# id: prepare_release | ||
# run: | | ||
# cd code | ||
# gradle --no-daemon versionsSet -Pversion=${{ inputs.version }} | ||
# | ||
# - name: Create PR | ||
# uses: peter-evans/create-pull-request@v7 | ||
# with: | ||
# branch: "publish-v${{ inputs.version }}" | ||
# commit-message: "chore: prepare release ${{ inputs.version }}" | ||
# title: "chore: Publish v${{ inputs.version }}" | ||
# body: | | ||
# This PR updates the version of the SDK to v`${{ inputs.version }}`. | ||
# Generated by the EG SDK generator. | ||
# add-paths: | | ||
# code/* | ||
|
||
- name: Publish | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters