-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (32 loc) · 1.29 KB
/
build_with_gradle.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
# This is a basic workflow to help you get started with Actions
# This file was contributed by Carlos Parada and Yamel Senih from ERP Consultores y Asociados, C.A
name: ADempiere Build With gradle
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ "master", "develop", "bugfix/*", "feature/*" ]
pull_request:
branches: [ "master", "develop", "bugfix/*", "feature/*" ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# Build dist application backend
build-app:
name: Build with gradle
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
distribution: 'adopt-hotspot'
java-version: 11
- name: Build with Gradle
run: gradle build
env:
ADEMPIERE_LIBRARY_VERSION: 'test-version'
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_SECRET }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_PASSPHRASE }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_TOKEN }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }}