Skip to content

Commit

Permalink
publish 1.0 jars nightly (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Nov 8, 2023
1 parent a3d10ce commit b39cdda
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
ref: 1.0.x

- name: Set up JDK 8
uses: actions/setup-java@v3
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/publish-1.0-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Publish 1.0 jars nightly

on:
workflow_dispatch:
schedule:
- cron: "23 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@v4
with:
fetch-depth: 0
fetch-tags: true
ref: 1.0.x

- 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 }}

0 comments on commit b39cdda

Please sign in to comment.