Skip to content

Refactor project structure #12

Refactor project structure

Refactor project structure #12

Workflow file for this run

name: Project Build
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: cache gradle packages
uses: actions/cache@v2
with:
key: ${{ runner.os }}-build-${{ env.cache-name }}
path: |
~/.gradle/caches
~/.gradle/wrapper
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 8.0
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 8.0
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew jar
- name: capture build artifacts
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/libs/