File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed
Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,12 @@ jobs:
1212 test :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v4
15+ - &checkout:
16+ uses : actions/checkout@v4
1617 with :
1718 fetch-depth : 0
18- - uses : actions/setup-java@v4
19+ - &setupJava:
20+ uses : actions/setup-java@v4
1921 with :
2022 java-version : 17
2123 distribution : temurin
3941 matrix :
4042 edition : [ "community-231", "enterprise-251" ]
4143 steps :
42- - uses : actions/checkout@v4
43- with :
44- fetch-depth : 0
45- - uses : actions/setup-java@v4
46- with :
47- java-version : 17
48- distribution : temurin
44+ - *checkout
45+ - *setupJava
4946 - name : Test
5047 run : ./gradlew :integration-tests:alfresco-${{ matrix.edition }}:integrationTest -Prandom_ports=true
5148 - name : Upload reports
5956 runs-on : ubuntu-latest
6057 if : ${{ startsWith(github.ref, 'refs/tags/') }}
6158 steps :
62- - uses : actions/checkout@v4
63- with :
64- fetch-depth : 0
65- - uses : actions/setup-java@v4
66- with :
67- java-version : 17
68- distribution : temurin
59+ - *checkout
60+ - *setupJava
6961 - name : Publish
7062 env :
7163 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
You can’t perform that action at this time.
0 commit comments