From 2224ce13d3906c4e290077f2b8577b386b6b9872 Mon Sep 17 00:00:00 2001 From: Savvas Kyriacou Date: Wed, 6 Sep 2023 11:56:21 +0100 Subject: [PATCH 1/2] replaced publish to poublishToMavenLocal and removed nexus secrets Signed-off-by: Savvas Kyriacou --- .github/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e89696d7..16db8130 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -251,12 +251,9 @@ jobs: - name: Publish with Gradle if: ${{ github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/next' }} - run: ./gradlew --info publish + run: ./gradlew --info publishToMavenLocal working-directory: package-jar - env: - ORG_GRADLE_PROJECT_galasaNexusUsername: ${{ secrets.NEXUS_USERNAME }} - ORG_GRADLE_PROJECT_galasaNexusPassword: ${{ secrets.NEXUS_PASSWORD }} - + - name: Upload JAR uses: actions/upload-artifact@v3 with: From a4f321c1453239d23546eb6df8965df65a5492fd Mon Sep 17 00:00:00 2001 From: Savvas Kyriacou Date: Wed, 6 Sep 2023 13:24:32 +0100 Subject: [PATCH 2/2] removed publish Signed-off-by: Savvas Kyriacou --- .github/workflows/build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16db8130..0c4837fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -249,11 +249,6 @@ jobs: run: ./gradlew --info libertyPackage working-directory: package-jar - - name: Publish with Gradle - if: ${{ github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/next' }} - run: ./gradlew --info publishToMavenLocal - working-directory: package-jar - - name: Upload JAR uses: actions/upload-artifact@v3 with: