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

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


The following commit(s) were added to refs/heads/main by this push:
     new 9a5c758  Enables nightly publish (#34)
9a5c758 is described below

commit 9a5c758097c1accc6439459e43d95977036353c6
Author: Nicolas Vollmar <[email protected]>
AuthorDate: Thu Mar 23 10:44:47 2023 +0100

    Enables nightly publish (#34)
---
 .github/workflows/publish-nightly.yml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/.github/workflows/publish-nightly.yml 
b/.github/workflows/publish-nightly.yml
new file mode 100644
index 0000000..36d3ad2
--- /dev/null
+++ b/.github/workflows/publish-nightly.yml
@@ -0,0 +1,35 @@
+name: Publish
+
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: "22 0 * * *"
+
+jobs:
+  publish-artifacts:
+    name: Publish artifacts to Apache Nexus
+    runs-on: ubuntu-22.04
+    if: github.repository == 'apache/incubator-pekko-persistence-cassandra'
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+
+      - name: Set up JDK 8
+        uses: actions/setup-java@v3
+        with:
+          distribution: temurin
+          java-version: 8
+
+      - name: Cache Coursier cache
+        uses: coursier/[email protected]
+
+      - name: Install graphviz
+        run: sudo apt-get install -y graphviz
+
+      - name: Publish to Apache Maven repo
+        run: sbt +publish
+        env:
+          NEXUS_USER: ${{ secrets.NEXUS_USER }}
+          NEXUS_PW: ${{ secrets.NEXUS_PW }}


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

Reply via email to