-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (47 loc) · 1.41 KB
/
javadocs.yml
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
name: Deploy Javadoc
on:
push
jobs:
makedoc:
runs-on: ubuntu-latest
steps:
- name: Deploy JavaDoc
uses: MathieuSoysal/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-version: 17
target-folder: javadoc
project: gradle
publish:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v3
- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- name: shadowJar
uses: gradle/gradle-build-action@v2
with:
gradle-version: release-candidate
arguments: shadowJar
- name: Nexus Repo Publish
uses: sonatype-nexus-community/nexus-repo-github-action@master
with:
serverUrl: https://gradle.phoenix.is-a.dev
username: admin
password: ${{ secrets.password }}
format: maven2
repository: maven-releases
coordinates: groupId=net.phoenix artifactId=eventemitter version=${{ steps.version.outputs.version }}
assets: extension=jar
filename: ./build/libs/EventEmitter-1.0-all.jar