File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed
Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212 test :
1313 runs-on : ubuntu-latest
14- uses : ./.github/workflows/common-setup.yml
1514 steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+ - name : Setup Java
20+ uses : actions/setup-java@v4
21+ with :
22+ java-version : 17
23+ distribution : temurin
1624 - name : Test
1725 run : ./gradlew test
1826 - name : Upload reports
@@ -28,12 +36,20 @@ jobs:
2836 run : ./gradlew aggregateJacocoReport sonar --stacktrace
2937 integration-test :
3038 runs-on : ubuntu-latest
31- uses : ./.github/workflows/common-setup.yml
3239 if : ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' || startsWith(github.ref, 'refs/tags/') }}
3340 strategy :
3441 matrix :
3542 edition : [ "community-231", "enterprise-251" ]
3643 steps :
44+ - name : Checkout code
45+ uses : actions/checkout@v4
46+ with :
47+ fetch-depth : 0
48+ - name : Setup Java
49+ uses : actions/setup-java@v4
50+ with :
51+ java-version : 17
52+ distribution : temurin
3753 - name : Test
3854 run : ./gradlew :integration-tests:alfresco-${{ matrix.edition }}:integrationTest -Prandom_ports=true
3955 - name : Upload reports
4662 needs : [test, integration-test]
4763 runs-on : ubuntu-latest
4864 if : ${{ startsWith(github.ref, 'refs/tags/') }}
49- uses : ./.github/workflows/common-setup.yml
5065 steps :
66+ - name : Checkout code
67+ uses : actions/checkout@v4
68+ with :
69+ fetch-depth : 0
70+ - name : Setup Java
71+ uses : actions/setup-java@v4
72+ with :
73+ java-version : 17
74+ distribution : temurin
5175 - name : Publish
5276 env :
5377 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
You can’t perform that action at this time.
0 commit comments