Update in response to feedback

This commit is contained in:
Zach Levis
2020-11-02 22:00:57 -08:00
parent afea5b64a1
commit 09d8031c6c
3 changed files with 16 additions and 34 deletions

View File

@@ -22,6 +22,8 @@ jobs:
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
@@ -31,3 +33,9 @@ jobs:
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '11' }} # Only upload artifacts built from LTS java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/libs/

View File

@@ -1,16 +0,0 @@
# Ensure the gradle wrapper in the repository has not been tampered with.
# If this check fails, something is seriously wrong -- try creating a new
# wrapper from a local gradle install.
name: validate gradle wrapper
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1