Skip to content

Commit 755d18f

Browse files
committed
cicd: minor fixes
1 parent 1c3256f commit 755d18f

File tree

3 files changed

+4
-28
lines changed

3 files changed

+4
-28
lines changed

.github/workflows/build-java-app-workflow.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
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

.github/workflows/task.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,3 @@ jobs:
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-

.github/workflows/test-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build and test the project
2+
23
on:
34
workflow_call:
45
secrets:
@@ -19,8 +20,10 @@ on:
1920
report_context:
2021
type: string
2122
required: true
23+
2224
env:
2325
xb_version: "1.7.0"
26+
2427
jobs:
2528
test:
2629
name: Test and push Sonar analysis
@@ -50,6 +53,7 @@ jobs:
5053
with:
5154
name: workdir
5255
path: "**/target/site"
56+
5357
publish-test:
5458
name: Publish test results
5559
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)