File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
.github/actions/artifact-size-metrics/utils/build-and-upload Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,16 @@ source "$(dirname "$0")/../setup.sh"
1010
1111setup
1212
13- # Build
13+ # Build and move artifacts that'll be published to staging dir (build/m2)
1414if [ " $GITHUB_REPOSITORY " = " aws-sdk-kotlin" ]; then
1515 # FIXME: Enable K/N builds
1616 ./gradlew build -Paws.kotlin.native=false build --parallel --max-workers 16
17+ ./gradlew -Paws.kotlin.native=false publish --parallel --max-workers 16
1718else
1819 ./gradlew build
20+ ./gradlew publish --parallel --max-workers 16
1921fi
2022
21- # Move artifacts that'll be published to staging dir (build/m2)
22- ./gradlew publish --parallel --max-workers 16
23-
2423# Calculate size for artifacts in staging dir (build/m2) and save them to metrics_file
2524calculateArtifactSizes " $metrics_file " # see: constants.sh
2625
You can’t perform that action at this time.
0 commit comments