File tree Expand file tree Collapse file tree 3 files changed +4
-28
lines changed Expand file tree Collapse file tree 3 files changed +4
-28
lines changed Original file line number Diff line number Diff line change 3737 - name : Maven Build (skip tests)
3838 run : mvn -T 2 clean install -DskipTests ${{ inputs.maven_opts }}
3939 - uses : actions/upload-artifact@v3
40- # id: github.refName === 'cellbase' || github.refName === 'opencga'
4140 with :
4241 name : build-folder
4342 path : build
Original file line number Diff line number Diff line change 1616 with :
1717 report_context : development
1818 report_dir : ${{ github.ref_name }}/java-common-libs/${{ github.sha }}
19-
20- deploy-maven :
21- name : Deploy in maven only for renamed versions
22- uses : ./.github/workflows/deploy-maven-repository-workflow.yml
23- needs : [ build, test ]
24- if : contains( needs.build.outputs.version ,'TASK')
25- secrets : inherit
26-
27- # The following jobs are to see that the previous 'if' doesn't fail and that the maven deploy is executed because it is true
28- snapshot-version :
29- name : Check SNAPSHOT version
30- needs : [ build, test ]
31- if : contains(needs.build.outputs.version ,'SNAPSHOT')
32- runs-on : ubuntu-22.04
33- steps :
34- - name : test-version-from-check
35- run : echo "Project version is " ${{ needs.build.outputs.version }}
36-
37- task-version :
38- name : Check TASK version
39- needs : [ build, test ]
40- if : contains(needs.build.outputs.version ,'TASK')
41- runs-on : ubuntu-22.04
42- steps :
43- - name : test-version-from-check
44- run : echo "Project version is " ${{ needs.build.outputs.version }}
45-
Original file line number Diff line number Diff line change 11name : Build and test the project
2+
23on :
34 workflow_call :
45 secrets :
1920 report_context :
2021 type : string
2122 required : true
23+
2224env :
2325 xb_version : " 1.7.0"
26+
2427jobs :
2528 test :
2629 name : Test and push Sonar analysis
5053 with :
5154 name : workdir
5255 path : " **/target/site"
56+
5357 publish-test :
5458 name : Publish test results
5559 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments