File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,22 @@ name: Build and Release Java Application
33on :
44 push :
55 tags :
6- - " release_*" # Trigger on tags with prefix release_
6+ - " release_*"
77
88jobs :
99 build_and_release :
10- runs-on : ubuntu-latest # Specifies the runner environment
10+ runs-on : ubuntu-latest
1111
1212 steps :
1313 - name : Checkout code
14- uses : actions/checkout@v3 # Checks out the repository code under $GITHUB_WORKSPACE
14+ uses : actions/checkout@v4
1515
16- - name : Set up JDK 17
16+ - name : Set up JDK 21
1717 uses : actions/setup-java@v3
1818 with :
19- java-version : " 17"
20- distribution : " temurin" # AdoptOpenJDK builds from Eclipse Foundation
19+ java-version : " 21"
20+ distribution : " temurin"
21+ cache : gradle
2122
2223 - name : Set execute permissions for Gradle wrapper
2324 run : chmod +x ./gradlew
You can’t perform that action at this time.
0 commit comments