Skip to content

Commit

Permalink
Merge pull request #58 from eclipse-store/zj/examples-1123
Browse files Browse the repository at this point in the history
add maven profile + script
  • Loading branch information
zdenek-jonas authored Nov 10, 2023
2 parents 2d850c6 + 3faca76 commit 817b87b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ name: Java CI with Maven

on:
push:
branches: [ main]
branches:
- '*'
pull_request:
branches: [ main ]

Expand All @@ -24,4 +25,4 @@ jobs:
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml -U
run: mvn -P examples -B package --file pom.xml -U
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,12 @@
</build>

<profiles>
<profile>
<id>examples</id>
<modules>
<module>examples</module>
</modules>
</profile>
<profile>
<id>production</id>
<build>
Expand Down

0 comments on commit 817b87b

Please sign in to comment.