Publish nightly 1.0 snapshots #349
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Licensed to the Apache Software Foundation (ASF) under one or more | |
# license agreements; and to You under the Apache License, version 2.0: | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# This file is part of the Apache Pekko project, which was derived from Akka. | |
# | |
name: Publish nightly 1.0 snapshots | |
on: | |
schedule: | |
- cron: "30 1 * * *" | |
workflow_dispatch: | |
jobs: | |
publish-artifacts: | |
name: Publish 1.0 artifacts to Apache Nexus | |
runs-on: ubuntu-latest | |
if: github.repository == 'apache/pekko-http' | |
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@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- name: Install sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Cache Coursier cache | |
uses: coursier/cache-action@v6 | |
- 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 }} | |
JAVA_OPTS: "-verbose:gc -Xmx4g" |