From 7edcd7f14d109dbe23105436ab31b4fa207e48a4 Mon Sep 17 00:00:00 2001 From: Amith Koujalgi Date: Fri, 27 Oct 2023 13:13:55 +0530 Subject: [PATCH] init --- .github/workflows/maven-publish1.yml | 58 ++++++++++++++-------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/maven-publish1.yml b/.github/workflows/maven-publish1.yml index cd8b575..73586db 100644 --- a/.github/workflows/maven-publish1.yml +++ b/.github/workflows/maven-publish1.yml @@ -1,29 +1,29 @@ -# This workflow will build a Java project with Maven -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - -name: CI - Publish to Maven Central Sonatype - -on: - push: - branches: [ main ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Maven Central Repository - uses: actions/setup-java@v1 - with: - java-version: 1.8 - server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE - - name: Deploy with Maven - run: mvn -B clean deploy -Pci-cd - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} \ No newline at end of file +## This workflow will build a Java project with Maven +## For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven +# +#name: CI - Publish to Maven Central Sonatype +# +#on: +# push: +# branches: [ main ] +# +#jobs: +# build: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - name: Set up Maven Central Repository +# uses: actions/setup-java@v1 +# with: +# java-version: 1.8 +# server-id: ossrh +# server-username: MAVEN_USERNAME +# server-password: MAVEN_PASSWORD +# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} +# gpg-passphrase: MAVEN_GPG_PASSPHRASE +# - name: Deploy with Maven +# run: mvn -B clean deploy -Pci-cd +# env: +# MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} +# MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} +# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} \ No newline at end of file