Skip to content

Commit f7f31c9

Browse files
committed
fix: target is not in build artifacts
1 parent cfe6ea0 commit f7f31c9

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

‎.github/workflows/maven.yml‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ jobs:
4747
name: build_${{ matrix.runner }}
4848
retention-days: 1
4949
path: coatjava.tar.gz
50+
- name: publish jacoco report
51+
if: matrix.runner == 'ubuntu-latest'
52+
run: validation/jacoco-aggregate.sh
53+
- uses: actions/upload-artifact@v3
54+
if: matrix.runner == 'ubuntu-latest'
55+
with:
56+
name: jacoco
57+
retention-days: 1
58+
path: publish/
5059

5160
# tests
5261
#############################################################################
@@ -134,14 +143,10 @@ jobs:
134143
needs:
135144
- build
136145
steps:
137-
- uses: actions/checkout@v3
138146
- uses: actions/download-artifact@v3
139147
with:
140-
name: build_${{ needs.build.outputs.default_runner }}
141-
- name: untar build
142-
run: tar xzvf coatjava.tar.gz
143-
- name: publish jacoco report
144-
run: validation/jacoco-aggregate.sh
148+
name: jacoco
149+
path: publish/
145150
- uses: actions/upload-pages-artifact@v2
146151
with:
147152
path: publish/

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/coatjava
33
/myLocalMvnRepo
44
target
5+
/publish
56

67
*.class
78
*lundfiles*.dat
@@ -36,4 +37,4 @@ hs_err_pid*
3637
*.evio
3738

3839
bin/evio2hipotest
39-
export.sh
40+
export.sh

0 commit comments

Comments
 (0)