We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df1ce9 commit fe9120aCopy full SHA for fe9120a
1 file changed
.github/actions/build_setup/action.yml
@@ -0,0 +1,36 @@
1
+name: Build Setup
2
+description: Setup for standard Java builds
3
+
4
+inputs:
5
+ update-cache:
6
+ description: If cache should be updated
7
+ required: false
8
+ default: 'false'
9
10
+runs:
11
+ using: 'composite'
12
13
+ steps:
14
+ - name: Set up JDK 8 and 17
15
+ uses: actions/setup-java@v5
16
+ with:
17
+ cache: gradle
18
+ distribution: 'zulu'
19
+ java-version: |
20
+ 8
21
+ 17
22
23
+ - name: Setup Gradle
24
+ uses: gradle/actions/setup-gradle@v5
25
26
+ cache-write-only: ${{ inputs.update-cache }}
27
+ gradle-home-cache-includes: |
28
+ caches
29
+ caches/retro_futura_gradle
30
+ notifications
31
+ jdks
32
+ wrapper
33
34
+ - name: Grant execute permission for gradlew
35
+ shell: bash
36
+ run: chmod +x gradlew
0 commit comments