Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/nightly-1.3-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
name: Nightly Builds (1.3)

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

permissions: {}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-1.4-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
if: github.repository == 'apache/pekko'
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- cluster-typed/test cluster-sharding-typed/test
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].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
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
javaVersion: 25
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: 0
fetch-tags: true
Expand Down
74 changes: 74 additions & 0 deletions .github/workflows/publish-1.4-nightly.yml
Original file line number Diff line number Diff line change
@@ -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