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

engelen pushed a commit to branch gha-stage-release-candidate
in repository https://gitbox.apache.org/repos/asf/pekko.git

commit d324a8c09c1b0701f685a52e13a970c63f41b233
Author: Arnout Engelen <[email protected]>
AuthorDate: Tue Oct 7 11:12:05 2025 +0200

    WIP release candidate staging workflow
---
 .github/workflows/stage-release-candidate.yml | 65 +++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/.github/workflows/stage-release-candidate.yml 
b/.github/workflows/stage-release-candidate.yml
new file mode 100644
index 0000000000..8977e94091
--- /dev/null
+++ b/.github/workflows/stage-release-candidate.yml
@@ -0,0 +1,65 @@
+# 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.
+
+name: Stage release candidate
+
+on:
+  workflow_dispatch:
+    inputs:
+      version:
+        description: 'Version to be staged (without -RC suffix)'
+        required: true
+        type: string
+
+permissions:
+  contents: read
+
+jobs:
+  # Automating the step at 
https://github.com/apache/pekko-site/wiki/Pekko-Release-Process#build-the-source-release-candidate
+  # Partly based on 
https://github.com/apache/daffodil/blob/main/.github/workflows/release-candidate.yml
+  stage-release-candidate-to-svn:
+    runs-on: ubuntu-24.04
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v5
+        with:
+          fetch-depth: 0
+          fetch-tags: true
+          persist-credentials: false
+
+      - name: Check version parameter
+        run: |-
+          echo "${{ github.event.inputs.version }}"
+          exit 1
+
+      - name: Setup Java 17
+        uses: actions/setup-java@v5
+        with:
+          distribution: temurin
+          java-version: 17
+
+      - name: Install sbt
+        uses: sbt/setup-sbt@17575ea4e18dd928fe5968dbe32294b97923d65b # v1.1.13
+
+      # We intentionally do not use the Coursier cache for release candidates,
+      # to reduce attack surface
+
+      # We intentionally postpone the signing to a separate step, to reduce
+      # attack surface
+      - name: Generate source dist
+        run: |-
+          sbt "clean; set ThisBuild / version := \"$VERSION\"; 
sourceDistGenerate"


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

Reply via email to