From ac0254d337bc6bb9412c7c451f86a4a55a2e9e8b Mon Sep 17 00:00:00 2001 From: Joshua Darnell Date: Mon, 13 Apr 2020 02:59:15 -0700 Subject: [PATCH] GitHub workflow - removed post-build artifact and added gradle caching --- .github/workflows/gradle.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index f611150..0233add 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -20,12 +20,14 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 + - name: Cache Gradle packages + uses: actions/cache@v1 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + restore-keys: ${{ runner.os }}-gradle - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build and Run acceptance tests run: ./gradlew build - - name: Create Build Artifacts - uses: actions/upload-artifact@v1 - with: - name: web-api-commander.jar - path: build/libs/ + - name: Create Build Artifacts \ No newline at end of file