mirror of
https://github.com/AdrianKuta/Expandable-RecyclerView.git
synced 2025-04-19 23:19:02 +02:00
Updated workflow
This commit is contained in:
parent
0c5f41c8c7
commit
161624693f
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -1,24 +0,0 @@
|
|||||||
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
|
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -17,7 +18,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: adopt
|
distribution: adopt
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
# Builds the release artifacts
|
||||||
|
- name: Build project
|
||||||
|
run: ./gradlew assemble
|
||||||
|
|
||||||
# Builds the release artifacts of the library
|
# Run tests
|
||||||
- name: Test
|
- name: Run tests
|
||||||
run: ./gradlew test
|
run: ./gradlew test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user