mirror of
https://github.com/AdrianKuta/Tree-Data-Structure.git
synced 2025-04-19 23:19:03 +02:00
25 lines
568 B
YAML
25 lines
568 B
YAML
name: Build
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: Check project build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: adopt
|
|
java-version: 11
|
|
|
|
# Builds the release artifacts of the library
|
|
- name: Build
|
|
run: ./gradlew assemble
|
|
|
|
# Generates other artifacts (javadocJar is optional)
|
|
- name: Source jar and dokka
|
|
run: ./gradlew androidSourcesJar javadocJar
|