File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1818 id : checks-version
1919 shell : bash
2020 run : |
21- # Calculate Web3Signer version
21+ # Calculate version
2222 output=$(./gradlew -q printVersion)
2323 # Extract specific-version and publish-version from the output
2424 specific_version=$(echo "$output" | grep -oP 'specific-version=\K.*')
Original file line number Diff line number Diff line change 33name : ' java-setup-gradle'
44description : ' java-setup-gradle'
55
6+ inputs :
7+ DISTRIBUTION :
8+ description : " jdk distribution to use"
9+ required : false
10+ default : ' temurin'
11+
612runs :
713 using : " composite"
814 steps :
915 - name : Set up JDK 21
1016 uses : actions/setup-java@v4
1117 with :
1218 java-version : 21
13- distribution : ' temurin '
19+ distribution : ' ${{ inputs.DISTRIBUTION }} '
1420
1521 - name : Setup Gradle
16- uses : gradle/actions/setup-gradle@v4
22+ uses : gradle/actions/setup-gradle@v4
23+
24+ - name : Cache Gradle dependencies
25+ uses : actions/cache@v4
26+ with :
27+ path : |
28+ ~/.gradle/caches
29+ ~/.gradle/wrapper
30+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/versions.gradle') }}-${{ github.sha }}
31+ restore-keys : |
32+ ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/versions.gradle') }}
33+ ${{ runner.os }}-gradle-
You can’t perform that action at this time.
0 commit comments