Skip to content

Commit 78e9155

Browse files
committed
GitHub Actions: build on Java 17 and 19 and upload artifacts
1 parent f91646b commit 78e9155

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
- 1.8
2828
- 9
2929
- 11 # LTS
30-
- 15
30+
- 17 # LTS
31+
- 19
3132

3233
steps:
3334
- uses: actions/checkout@v2
@@ -48,6 +49,17 @@ jobs:
4849
run: mvn --batch-mode test
4950
working-directory: svg-core
5051

52+
- name: Package artifacts
53+
if: matrix.java == '1.8'
54+
run: mvn --batch-mode package
55+
working-directory: svg-core
56+
57+
- name: Upload artifacts
58+
uses: actions/upload-artifact@v3
59+
if: matrix.java == '1.8'
60+
with:
61+
name: svgSalamander-build-artifacts
62+
path: svg-core/target/svgSalamander-*.jar
5163

5264
deploy:
5365
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)