-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (30 loc) · 972 Bytes
/
verify.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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Hop-gis-plugins Verify
on:
push:
paths-ignore:
- 'docker/**'
- 'examples/**'
pull_request:
paths-ignore:
- 'docker/**'
- 'examples/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
cache: maven
- name: Verify with Maven
run: mvn -B -U -e -ff clean verify --file pom.xml
- run: mkdir staging && cp assemblies/target/gis-plugin-assemblies-*.zip staging
- uses: actions/upload-artifact@v3
with:
name: Upload artifact
path: staging