-
Notifications
You must be signed in to change notification settings - Fork 17
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
1 parent
c19bcf8
commit d56aeab
Showing
4 changed files
with
11 additions
and
18 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Release API CLI on github and Maven repository | ||
name: Release API CLI on github and Maven repository | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -22,7 +22,7 @@ jobs: | |
- name: Set up Java to deploy to OSSRH | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
java-version: '11' | ||
distribution: 'zulu' | ||
server-id: ossrh | ||
server-username: MAVEN_USERNAME | ||
|
@@ -34,7 +34,7 @@ jobs: | |
git config user.email "[email protected]" | ||
git config user.name $github.actor | ||
- name: Prepare & PublishRelease | ||
run: mvn -Dmaven.test.skip=true -pl '!modules/apim-cli-tests' release:prepare release:perform -P release -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} | ||
run: mvn -Dmaven.test.skip=true release:prepare release:perform -P release -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} | ||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
|
@@ -60,4 +60,4 @@ jobs: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
|
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
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
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