Skip to content

Commit 6e33419

Browse files
authored
chore: artifacts size on good branches (#1493)
1 parent cfe069f commit 6e33419

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

.github/workflows/pr_artifacts_size.yml

+15-8
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,26 @@ name: Artifacts Size
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
7+
- v2
78
paths:
9+
- 'powertools-batch/**'
810
- 'powertools-cloudformation/**'
9-
- 'powertools-core/**'
10-
- 'powertools-serialization/**'
11+
- 'powertools-core/**' # not in v2
12+
- 'powertools-common/**' # v2 only
13+
- 'powertools-e2e-tests/**'
14+
- 'powertools-idempotency/**'
15+
- 'powertools-large-messages/**'
1116
- 'powertools-logging/**'
12-
- 'powertools-sqs/**'
17+
- 'powertools-metrics/**'
18+
- 'powertools-parameters/**'
19+
- 'powertools-serialization/**'
20+
- 'powertools-sqs/**' # not in v2
21+
- 'powertools-test-suite/**' # not in v2
1322
- 'powertools-tracing/**'
1423
- 'powertools-validation/**'
15-
- 'powertools-parameters/**'
16-
- 'powertools-idempotency/**'
17-
- 'powertools-metrics/**'
1824
- 'pom.xml'
25+
- '.github/workflows/pr_artifacts_size.yml'
1926
jobs:
2027
codecheck:
2128
runs-on: ubuntu-latest
@@ -27,7 +34,7 @@ jobs:
2734
distribution: 'corretto'
2835
java-version: 11
2936
- name: Build with Maven
30-
run: mvn clean package --file pom.xml -DskipTests
37+
run: mvn clean package --file pom.xml -DskipTests artifact:buildinfo
3138
- name: Get artifacts size & build report
3239
id: artifacts-size-report
3340
run: |

examples/powertools-examples-idempotency/pom.xml

-7
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,4 @@
244244
</build>
245245
</profile>
246246
</profiles>
247-
<repositories>
248-
<repository>
249-
<id>dynamodb-local-oregon</id>
250-
<name>DynamoDB Local Release Repository</name>
251-
<url>https://s3.eu-central-1.amazonaws.com/dynamodb-local-frankfurt/release</url>
252-
</repository>
253-
</repositories>
254247
</project>

powertools-idempotency/pom.xml

-7
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,4 @@
189189
</plugin>
190190
</plugins>
191191
</build>
192-
<repositories>
193-
<repository>
194-
<id>dynamodb-local-oregon</id>
195-
<name>DynamoDB Local Release Repository</name>
196-
<url>https://s3.eu-central-1.amazonaws.com/dynamodb-local-frankfurt/release</url>
197-
</repository>
198-
</repositories>
199192
</project>

0 commit comments

Comments
 (0)