File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 4949 runs-on : ubuntu-latest
5050 steps :
5151 - name : Checkout Repository
52- uses : actions/checkout@v4.1.7
52+ uses : actions/checkout@v4
5353 with :
5454 token : ${{ secrets.PAT }}
5555
@@ -104,23 +104,23 @@ jobs:
104104 fi
105105
106106 - name : Setup Java
107- uses : actions/setup-java@v4.2.1
107+ uses : actions/setup-java@v4
108108 with :
109109 distribution : ' temurin'
110- java-version : ' 8 '
110+ java-version : ' 21 '
111111
112112 - name : Grant execute permission for gradlew
113113 run : chmod +x gradlew
114114
115115 - name : Setup Gradle
116- uses : gradle/actions/setup-gradle@v3.4.2
116+ uses : gradle/actions/setup-gradle@v3
117117
118118 - name : Build Project
119119 run : ./gradlew build
120120
121121 - name : Publish to GitHub
122122 if : env.publish-gh == 'true'
123- uses : softprops/action-gh-release@v2.0.6
123+ uses : softprops/action-gh-release@v2
124124 with :
125125 tag_name : " v${{ inputs.version }}"
126126 token : ${{ secrets.PAT }}
Original file line number Diff line number Diff line change 2424
2525 steps :
2626 - name : Checkout branch
27- uses : actions/checkout@v4.1.7
27+ uses : actions/checkout@v4
2828
2929 # https://github.com/madhead/read-java-properties#error-java_home-is-set-to-an-invalid-directory
3030 - name : Gather Gradle properties
@@ -43,23 +43,23 @@ jobs:
4343 run : sed -i "s/mod_version.*=.*/mod_version = ${{ steps.gradle_properties.outputs.mod_version }}-${{ steps.vars.outputs.SHA_SHORT }}/g" gradle.properties
4444
4545 - name : Set up Temurin JDK 8
46- uses : actions/setup-java@v4.2.1
46+ uses : actions/setup-java@v4
4747 with :
4848 distribution : ' temurin'
49- java-version : ' 8 '
49+ java-version : ' 21 '
5050 cache : gradle # Only cache stuff since test build action happen mostly
5151
5252 - name : Grant execute permission for gradlew
5353 run : chmod +x gradlew
5454
5555 - name : Setup Gradle
56- uses : gradle/actions/setup-gradle@v3.4.2
56+ uses : gradle/actions/setup-gradle@v3
5757
5858 - name : Build Project
5959 run : ./gradlew build
6060
6161 - name : Upload Build Artifacts
62- uses : actions/upload-artifact@v4.3.4
62+ uses : actions/upload-artifact@v4
6363 with :
6464 name : GroovyScript-${{ steps.gradle_properties.outputs.modVersion }}-${{ github.run_number }}
6565 path : build/libs
You can’t perform that action at this time.
0 commit comments