-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathaction.yml
More file actions
24 lines (22 loc) · 707 Bytes
/
action.yml
File metadata and controls
24 lines (22 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: 'Setup Host'
description: 'Configures the host runner to run the build'
inputs:
gradle-encryption-key:
description: 'The encryption key to use for the Gradle Configuration cache'
required: true
runs:
using: "composite"
steps:
- name: Setup JDK17
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
with:
cache-encryption-key: ${{ inputs.gradle-encryption-key }}
cache-read-only: false
build-scan-publish: true
build-scan-terms-of-use-url: 'https://gradle.com/terms-of-service'
build-scan-terms-of-use-agree: 'yes'