forked from erlang/erlide_eclipse
-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (31 loc) · 840 Bytes
/
build.yaml
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
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 8
- uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-
- uses: erlef/setup-beam@v1
with:
otp-version: '23'
- name: erl
run: erl -version
- uses: actions/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Build with Maven
run: PATH=$PATH:/home/runner/.gem/ruby/2.7/bin xvfb-run ./mvnw -B -U clean verify -P help
- uses: actions/upload-artifact@v2
with:
name: P2 site
path: releng/org.erlide.site/target/repository