File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ name: Java CI with Gradle
55
66on :
77 push :
8- branches : [ "master " ]
8+ branches : [ "main " ]
99 pull_request :
10- branches : [ "master" ]
10+ branches : [ "main" ]
11+ workflow_dispatch :
1112
1213jobs :
1314 build :
1718 contents : read
1819
1920 steps :
20- - uses : actions/checkout@v5
21+ - uses : actions/checkout@v6
2122 with :
2223 fetch-depth : 0 # full history
2324 fetch-tags : true # grab your tags
@@ -33,12 +34,12 @@ jobs:
3334 # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
3435 # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
3536 - name : Setup Gradle
36- uses : gradle/actions/setup-gradle@v4
37+ uses : gradle/actions/setup-gradle@v5
3738
3839 - name : Build with Gradle Wrapper
3940 run : ./gradlew clean build
4041
41- - uses : actions/upload-artifact@v4
42+ - uses : actions/upload-artifact@v6
4243 with :
4344 name : Staging-Build
4445 path : build/libs
You can’t perform that action at this time.
0 commit comments