Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirk Pepperdine authored Jul 29, 2021
1 parent a8778aa commit a1a06c5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,24 @@ jobs:
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B package --file pom.xml
run: cd gctoolkit-gclogs && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build rolling
run: cd gctoolkit-gclogs-rolling && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with Maven
run: cd gctoolkit-zgc-logs && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build rolling
run: cd gctoolkit-shenandoah-logs && mvn -B package --file pom.xml && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}

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

0 comments on commit a1a06c5

Please sign in to comment.