Skip to content

Publish 1.0 Nightly #325

Publish 1.0 Nightly

Publish 1.0 Nightly #325

name: Publish 1.0 Nightly
permissions:
contents: read
on:
workflow_dispatch:
schedule:
- cron: "23 0 * * *"
jobs:
publish10:
if: github.repository == 'apache/pekko-persistence-jdbc'
name: Publish
runs-on: ubuntu-20.04
env:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
fetch-tags: true
ref: 1.0.x
- name: Setup Java 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
- name: Publish Jars to Apache Maven Repository
run: |-
sbt +publish
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PW: ${{ secrets.NEXUS_PW }}