Skip to content

Commit

Permalink
Restrict deploy to a subset of artifacts (#1228)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
  • Loading branch information
artursouza authored Mar 4, 2025
1 parent 36a0140 commit 6108547
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ jobs:
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
export GPG_TTY=$(tty)
gpg --batch --import private-key.gpg
./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy -pl \!examples
./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy -Pdeploy-profile
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,19 @@
</modules>

<profiles>
<profile>
<id>deploy-profile</id>
<modules>
<!-- Include only the modules to be deployed -->
<module>sdk-autogen</module>
<module>sdk</module>
<module>sdk-actors</module>
<module>sdk-springboot</module>
<module>sdk-workflows</module>
<module>testcontainers-dapr</module>
<module>dapr-spring</module>
</modules>
</profile>
<profile>
<id>integration-tests</id>
<modules>
Expand Down

0 comments on commit 6108547

Please sign in to comment.