forked from modmuss50/OptiFabric
-
Notifications
You must be signed in to change notification settings - Fork 106
29 lines (25 loc) · 676 Bytes
/
main.yml
File metadata and controls
29 lines (25 loc) · 676 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:
branches: [ llama ]
pull_request:
branches: [ llama ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace --info
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.1.4
with:
name: Optifabric-Artifact
path: build/libs/optifabric-*.*.jar
if-no-files-found: error