File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# Controls when the action will run. Triggers the workflow on push or pull request
66# events but only for the master branch
77on :
8+ workflow_dispatch :
89 push :
910 branches : [ master ]
1011 pull_request :
@@ -20,25 +21,24 @@ jobs:
2021 # Steps represent a sequence of tasks that will be executed as part of the job
2122 steps :
2223 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v4
2425
2526 - name : Validate Gradle Wrapper
2627 uses : gradle/wrapper-validation-action@v1
27-
2828 # Install and setup JDK 11
2929 - name : Setup JDK 11
30- uses : actions/setup-java@v1
30+ uses : actions/setup-java@v4
3131 with :
32+ distribution : ' zulu'
3233 java-version : 11
3334
3435 # Runs a single command using the runners shell
3536 - name : run checks
3637 run : ./gradlew check --stacktrace
3738
3839 - name : Archive test logs
39- uses : actions/upload-artifact@v2
40+ uses : actions/upload-artifact@v4
4041 if : failure()
4142 with :
4243 name : gradle-test-logs
4344 path : ./**/build/reports/tests
44-
You can’t perform that action at this time.
0 commit comments