-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 816 Bytes
/
build.yml
File metadata and controls
33 lines (33 loc) · 816 Bytes
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
name: 'Build Commit'
on:
push:
branches:
- 'main'
- '[0-9]+.[0-9]+.x'
- '[0-9]+.[0-9]+'
paths-ignore:
- '*.md'
- 'LICENSE'
- '.github/**'
tags-ignore:
- '[0-9]+.[0-9]+.[0-9]+-[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+-[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Setup Build
run: chmod 777 gradlew
- name: Build with Gradle
id: build
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
RELEASE_TYPE: snapshot
run: ./gradlew build publish