-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added workflow to deploy SNAPSHOT versions into Maven Central
- Loading branch information
Showing
3 changed files
with
31 additions
and
69 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# The workflow to deploy snapshot artifact versions to Maven Central | ||
# Fill free to adjust java version and additional mvn command-line parameters | ||
# The workflow will trigger on pushes into branches different from main and release | ||
# Please make sure that the version in the pom.xml file has the SNAPSHOT postfix | ||
|
||
# Please adjust pom.xml file for your project according to the instructions: | ||
# https://github.com/Netcracker/qubership-workflow-hub/blob/main/docs/maven-publish-pom-preparation_doc.md | ||
|
||
name: Maven Central deploy snapshot | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- "main" | ||
- "**release*" | ||
- "prettier/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
mvn-snapshot-deploy: | ||
uses: netcracker/qubership-workflow-hub/.github/workflows/maven-central-snapshot-deploy-reusable.yaml@main | ||
with: | ||
java-version: "21" | ||
additional-mvn-args: "" | ||
secrets: | ||
maven-username: ${{ secrets.MAVEN_USER }} | ||
maven-token: ${{ secrets.MAVEN_PASSWORD }} | ||
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }} | ||
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} |
This file was deleted.
Oops, something went wrong.
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