GitHub workflow - removed post-build artifact and added gradle caching
This commit is contained in:
parent
1a8346cc1f
commit
ac0254d337
|
@ -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
|
Loading…
Reference in New Issue