Skip to content

Commit a1a06c5

Browse files
author
Kirk Pepperdine
authored
Update maven-publish.yml
1 parent a8778aa commit a1a06c5

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/maven-publish.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,24 @@ jobs:
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file
2727

2828
- name: Build with Maven
29-
run: mvn -B package --file pom.xml
29+
run: cd gctoolkit-gclogs && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
30+
env:
31+
GITHUB_TOKEN: ${{ github.token }}
32+
33+
- name: Build rolling
34+
run: cd gctoolkit-gclogs-rolling && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
35+
env:
36+
GITHUB_TOKEN: ${{ github.token }}
37+
38+
- name: Build with Maven
39+
run: cd gctoolkit-zgc-logs && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
40+
env:
41+
GITHUB_TOKEN: ${{ github.token }}
42+
43+
- name: Build rolling
44+
run: cd gctoolkit-shenandoah-logs && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
45+
env:
46+
GITHUB_TOKEN: ${{ github.token }}
3047

3148
- name: Publish to GitHub Packages Apache Maven
3249
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml

0 commit comments

Comments
 (0)