-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1020 Bytes
/
java-ci.yml
File metadata and controls
42 lines (40 loc) · 1020 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
33
34
35
36
37
38
39
40
41
42
name: Java Continuous Integration
on:
push:
branches: [ main, develop ]
paths-ignore:
- cpp/**
- .github/**
- CSharp/**
- .gitignore
pull_request:
branches: [ main, develop ]
paths-ignore:
- cpp/**
- .github/**
- CSharp/**
- .gitignore
jobs:
build-CredentialStore:
runs-on: windows-latest
env:
working-directory: ./java
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.17
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
- name: list files
run: dir
- name: Build with Maven
working-directory: ./java
run: mvn -B compile
# This step may duplicate efforts of package but is done to make the results of the test more clear
- name: Test
working-directory: ./java
run: mvn -B -e test
- name: Package
working-directory: ./java
run: mvn -B package