Skip to content

Commit 8ad4c3c

Browse files
CI: add/update main build action
1 parent c093400 commit 8ad4c3c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- "*-[0-9]+.*"
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Java
17+
uses: actions/setup-java@v2
18+
with:
19+
java-version: '8'
20+
distribution: 'zulu'
21+
cache: 'maven'
22+
- name: Set up CI environment
23+
run: .github/setup.sh
24+
- name: Execute the build
25+
run: .github/build.sh
26+
env:
27+
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
28+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
29+
MAVEN_USER: ${{ secrets.MAVEN_USER }}
30+
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
31+
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}
32+
SIGNING_ASC: ${{ secrets.SIGNING_ASC }}

0 commit comments

Comments
 (0)