-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (40 loc) · 1.03 KB
/
build.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
41
42
43
44
name: Spring Boot CI with Maven
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'info'
push:
branches:
- "**"
paths:
- "**"
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: init-checkout
uses: actions/checkout@v3
- name: init-java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: build-vault-boot
run: |
mvn -Denv.scp=vault -DskipTests --batch-mode --update-snapshots package
- name: build-aws-boot
run: |
mvn -Denv.scp=aws -DskipTests --batch-mode --update-snapshots package
- name: build-gcp-boot
run: |
mvn -Denv.scp=gcp -DskipTests --batch-mode --update-snapshots package
- name: build-azure-boot
run: |
mvn -Denv.scp=azure -DskipTests --batch-mode --update-snapshots package