-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (32 loc) · 809 Bytes
/
rest.yml
File metadata and controls
32 lines (32 loc) · 809 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
name: DataPrivacyToolkit-REST
on:
push:
tags:
- '*'
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '21']
distribution: ['adopt', 'corretto', 'microsoft']
steps:
- uses: actions/checkout@v6
- name: Setup java
uses: actions/setup-java@v5
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
cache: 'gradle'
- name: Run gradlew publish to maven local
working-directory: ./library
run: ./gradlew publishToMavenLocal --no-daemon
- name: Run gradlew clean build
working-directory: ./rest
run: ./gradlew build --no-daemon