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/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 22e985e7a2 add CI job to publish 1.4 snapshots (#2541)
22e985e7a2 is described below

commit 22e985e7a2c658f805ba52f90e64207f2216c4e2
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Dec 4 09:21:17 2025 +0100

    add CI job to publish 1.4 snapshots (#2541)
---
 .github/workflows/nightly-1.3-builds.yml  |  2 -
 .github/workflows/nightly-1.4-builds.yml  |  6 +--
 .github/workflows/publish-1.4-nightly.yml | 74 +++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/nightly-1.3-builds.yml 
b/.github/workflows/nightly-1.3-builds.yml
index 818555654c..ceda49cd53 100644
--- a/.github/workflows/nightly-1.3-builds.yml
+++ b/.github/workflows/nightly-1.3-builds.yml
@@ -9,8 +9,6 @@
 name: Nightly Builds (1.3)
 
 on:
-  schedule:
-    - cron: "0 0 * * *"
   workflow_dispatch:
 
 permissions: {}
diff --git a/.github/workflows/nightly-1.4-builds.yml 
b/.github/workflows/nightly-1.4-builds.yml
index d5d1ab36d0..2d5394e95d 100644
--- a/.github/workflows/nightly-1.4-builds.yml
+++ b/.github/workflows/nightly-1.4-builds.yml
@@ -22,7 +22,7 @@ jobs:
     if: github.repository == 'apache/pekko'
     steps:
       - name: Checkout
-        uses: actions/[email protected]
+        uses: actions/[email protected]
         with:
           fetch-depth: 0
           fetch-tags: true
@@ -77,7 +77,7 @@ jobs:
           - cluster-typed/test cluster-sharding-typed/test
     steps:
       - name: Checkout
-        uses: actions/[email protected]
+        uses: actions/[email protected]
         with:
           # we don't know what commit the last tag was it's safer to get 
entire repo so previousStableVersion resolves
           fetch-depth: 0
@@ -133,7 +133,7 @@ jobs:
             javaVersion: 25
     steps:
       - name: Checkout
-        uses: actions/[email protected]
+        uses: actions/[email protected]
         with:
           fetch-depth: 0
           fetch-tags: true
diff --git a/.github/workflows/publish-1.4-nightly.yml 
b/.github/workflows/publish-1.4-nightly.yml
new file mode 100644
index 0000000000..3df84c1bcf
--- /dev/null
+++ b/.github/workflows/publish-1.4-nightly.yml
@@ -0,0 +1,74 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Based on Apache Arrow's java-nightly workflow
+# 
https://github.com/apache/arrow/blob/master/.github/workflows/java_nightly.yml
+name: Publish nightly 1.4 snapshots
+
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: "0 0 * * *"
+
+permissions:
+  contents: read
+
+jobs:
+  publish-nightly:
+    name: Publish 1.4 nightly
+    runs-on: ubuntu-22.04
+    if: github.repository == 'apache/pekko'
+    env:
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
+    steps:
+      - name: Checkout
+        uses: actions/[email protected]
+        with:
+          fetch-depth: 0
+          fetch-tags: true
+          persist-credentials: false
+          ref: 1.4.x
+
+      - name: Setup Java 11
+        uses: actions/setup-java@v5
+        with:
+          distribution: temurin
+          java-version: 11
+
+      - name: Install sbt
+        uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14
+
+      - name: Cache Coursier cache
+        uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433 # 
v6.4.8
+
+      - name: Install Graphviz
+        run: |-
+          sudo apt-get install graphviz
+
+      - name: Report MIMA incompatibility issues
+        run: |-
+          sbt +mimaReportBinaryIssues
+
+      - name: Publish to Apache Maven repo
+        env:
+          NEXUS_USER: ${{ secrets.NEXUS_USER }}
+          NEXUS_PW: ${{ secrets.NEXUS_PW }}
+        run: sbt -Dsbt.repository.publish.attempts=10 +publish
+
+      - name: Build Documentation
+        run: |-
+          sbt -Dpekko.genjavadoc.enabled=true docs/paradox unidoc


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to