-
Notifications
You must be signed in to change notification settings - Fork 50
49 lines (41 loc) · 1.4 KB
/
publish-1.4-snapshots.yml
File metadata and controls
49 lines (41 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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.4 snapshots
on:
schedule:
- cron: "30 1 * * *"
workflow_dispatch:
jobs:
publish-artifacts:
name: Publish 1.4 artifacts to Apache Nexus
runs-on: ubuntu-latest
if: github.repository == 'apache/pekko-http'
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
ref: 1.4.x
- name: Set up JDK 8
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: 8
- name: Install sbt
uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1.1.22
- name: Cache Coursier cache
uses: coursier/cache-action@90c37294538be80a558fd665531fcdc2b467b475 # v8.1.0
- 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"