Skip to content

Commit 6108547

Browse files
authored
Restrict deploy to a subset of artifacts (#1228)
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
1 parent 36a0140 commit 6108547

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,4 @@ jobs:
181181
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
182182
export GPG_TTY=$(tty)
183183
gpg --batch --import private-key.gpg
184-
./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy -pl \!examples
184+
./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy -Pdeploy-profile

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,19 @@
343343
</modules>
344344

345345
<profiles>
346+
<profile>
347+
<id>deploy-profile</id>
348+
<modules>
349+
<!-- Include only the modules to be deployed -->
350+
<module>sdk-autogen</module>
351+
<module>sdk</module>
352+
<module>sdk-actors</module>
353+
<module>sdk-springboot</module>
354+
<module>sdk-workflows</module>
355+
<module>testcontainers-dapr</module>
356+
<module>dapr-spring</module>
357+
</modules>
358+
</profile>
346359
<profile>
347360
<id>integration-tests</id>
348361
<modules>

0 commit comments

Comments
 (0)