You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/03/15 07:41:49 UTC

[incubator-pekko-connectors] branch main updated: try to publish to Apache's Nexus server (#51)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 8586225dd try to publish to Apache's Nexus server (#51)
8586225dd is described below

commit 8586225dd0ab7f7a486be7d64f38bde2af1a947d
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Mar 15 08:41:44 2023 +0100

    try to publish to Apache's Nexus server (#51)
---
 .github/workflows/check-build-test.yml | 21 ++++++++++++---------
 .github/workflows/link-validator.yml   |  7 ++++---
 .github/workflows/publish.yml          | 17 ++++++++---------
 3 files changed, 24 insertions(+), 21 deletions(-)

diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml
index 35bedaa8e..114637efd 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -31,10 +31,11 @@ jobs:
       #- name: Fetch tags
       #  run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
 
-      - name: Set up JDK 8
-        uses: coursier/setup-action@v1.2.1
+      - name: Setup Java 8
+        uses: actions/setup-java@v3
         with:
-          jvm: adopt:8
+          distribution: temurin
+          java-version: 8
 
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6.4.0
@@ -59,10 +60,11 @@ jobs:
       #- name: Fetch tags
       #  run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
 
-      - name: Set up JDK 11
-        uses: coursier/setup-action@v1.2.1
+      - name: Setup Java 11
+        uses: actions/setup-java@v3
         with:
-          jvm: adopt:11
+          distribution: temurin
+          java-version: 11
 
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6.4.0
@@ -140,10 +142,11 @@ jobs:
       #  with: # gh-detect-changes.sh compares with the target branch
       #    fetch-depth: 0
 
-      - name: Set up JDK 8
-        uses: coursier/setup-action@v1.2.1
+      - name: Setup Java 8
+        uses: actions/setup-java@v3
         with:
-          jvm: adopt:8
+          distribution: temurin
+          java-version: 8
 
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml
index aa4211d0c..03a377644 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -16,10 +16,11 @@ jobs:
       - name: Fetch tags
         run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
 
-      - name: Set up JDK 11
-        uses: olafurpg/setup-scala@v13
+      - name: Setup Java 11
+        uses: actions/setup-java@v3
         with:
-          java-version: adopt@1.11.0-9
+          distribution: temurin
+          java-version: 11
 
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index fa9743e9e..1c997a856 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -26,18 +26,17 @@ jobs:
           # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
           fetch-depth: 0
 
-      - name: Set up JDK 8
-        uses: coursier/setup-action@v1.2.1
+      - name: Setup Java 8
+        uses: actions/setup-java@v3
         with:
-          jvm: adopt:8
+          distribution: temurin
+          java-version: 8
 
-      - name: Publish artifacts for all Scala versions
+      - name: Publish to Apache Maven repo
         env:
-          PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
-          PGP_SECRET: ${{ secrets.PGP_SECRET }}
-          SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
-          SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
-        run: sbt ci-release
+          NEXUS_USER: ${{ secrets.NEXUS_USER }}
+          NEXUS_PW: ${{ secrets.NEXUS_PW }}
+        run: sbt +publish
 
 # TODO: fix after documentation deploy
 #      - name: Publish API and reference documentation


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org