Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Commit 2b19d6e

Browse files
AlessevanBakaAless
authored andcommitted
👷 Add workflows system
1 parent 5311d5e commit 2b19d6e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Gradle Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2.3.4
12+
- name: Set up JDK
13+
uses: actions/setup-java@v1.4.3
14+
with:
15+
java-version: 1.11
16+
java-package: jdk
17+
- name: Make gradlew executable
18+
run: chmod +x ./gradlew
19+
- name: Build with Gradle
20+
run: ./gradlew clean build
21+
- name: Upload artifact
22+
uses: actions/upload-artifact@v2
23+
with:
24+
name: InventoryAPI
25+
path: build/libs/**

0 commit comments

Comments
 (0)