Skip to content

Commit

Permalink
publish 1.1 snapshots and 1.1 docs based on 1.1.x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Nov 27, 2024
1 parent 96411d8 commit 1ca4e8a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-1.1-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
ref: 1.1.x

- name: Set up JDK 8
uses: actions/setup-java@v4
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/publish-1.1-snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish nightly 1.1 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.1.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"

0 comments on commit 1ca4e8a

Please sign in to comment.