From 973a33c5cfb3b1ed86402380e7795a4a95d312b4 Mon Sep 17 00:00:00 2001 From: Caden Kriese Date: Wed, 30 Sep 2020 11:40:55 -0600 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index f1538d0..dae7a34 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -1,13 +1,6 @@ -# This workflow will build a Java project with Gradle -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - name: Java CI with Gradle -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] +on: [ push, pull_request ] jobs: build: @@ -24,3 +17,8 @@ jobs: run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build + - name: Upload build artifacts + uses: actions/upload-artifact@v1 + with: + name: build-artifacts + path: build/libs