Skip to content

Commit

Permalink
Create Build Setup Action
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit authored Jan 25, 2024
1 parent 3e7a46d commit e527184
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/actions/build_setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Setup
description: Setup for standard Java builds

inputs:
update-cache:
description: If cache should be updated
required: false
default: false

runs:
using: 'composite'

steps:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-write-only: ${{ inputs.update-cache }}
generate-job-summary: false
gradle-home-cache-includes: |
caches
caches/retro_futura_gradle
notifications
jdks
wrapper

0 comments on commit e527184

Please sign in to comment.