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