Skip to content

Commit 21328d9

Browse files
committed
CI: add/update build action
1 parent 7ff52ae commit 21328d9

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/build.yml

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

0 commit comments

Comments
 (0)