-
Notifications
You must be signed in to change notification settings - Fork 12
29 lines (27 loc) · 813 Bytes
/
build.yml
File metadata and controls
29 lines (27 loc) · 813 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
name: Java CI with Gradle
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.5
- name: Set up JDK 1.8
uses: actions/setup-java@v2.3.1
with:
distribution: adopt
java-version: 1.8
- name: Cache gradle
uses: actions/cache@v2.1.6
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Download required libraries
run: bash scripts/init_libs.sh
- name: Build
run: ./gradlew build
- uses: actions/upload-artifact@v2.2.4
with:
name: eZProtector
path: build/libs/eZProtector-*.jar