forked from jverein/jverein
-
Notifications
You must be signed in to change notification settings - Fork 17
40 lines (35 loc) · 1.01 KB
/
buildcheck.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
# This workflow will build a Java project with Ant
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
name: OpenJVerein build check
on:
pull_request:
types: [opened, reopened, synchronize, edited]
paths:
- 'plugin.xml'
- 'build/**'
- 'lib/**'
- 'lib.src/**'
- 'src/**'
jobs:
call-reusable-workflow:
uses: ./.github/workflows/reusable-build.yml
build-check:
needs: call-reusable-workflow
runs-on: ubuntu-latest
steps:
- name: Restore cached tags and jars
id: cache-tags-jars
uses: actions/cache@v4
with:
path: |
./cached-tags
jameica
hibiscus
key: ${{ runner.os }}-${{ github.repository_id }}
- name: Checkout openjverein
uses: actions/checkout@v4
with:
path: jverein
- name: Build openjverein plugin
working-directory: ./
run: ant -noinput -buildfile jverein/build/build.xml compile