diff --git a/.github/workflows/nightly-1.3-builds.yml b/.github/workflows/nightly-1.3-builds.yml index 818555654cd..ceda49cd53f 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 d5d1ab36d0e..2d5394e95d4 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/checkout@v6.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 fetch-tags: true @@ -77,7 +77,7 @@ jobs: - cluster-typed/test cluster-sharding-typed/test steps: - name: Checkout - uses: actions/checkout@v6.0.0 + uses: actions/checkout@v6.0.1 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/checkout@v6.0.0 + uses: actions/checkout@v6.0.1 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 00000000000..3df84c1bcfc --- /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/checkout@v6.0.1 + 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