Skip to content

Commit af71947

Browse files
committed
disable kotlin native for publish
1 parent 0907192 commit af71947

File tree

1 file changed

+3
-4
lines changed
  • .github/actions/artifact-size-metrics/utils/build-and-upload

1 file changed

+3
-4
lines changed

.github/actions/artifact-size-metrics/utils/build-and-upload/main.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ source "$(dirname "$0")/../setup.sh"
1010

1111
setup
1212

13-
# Build
13+
# Build and move artifacts that'll be published to staging dir (build/m2)
1414
if [ "$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
1718
else
1819
./gradlew build
20+
./gradlew publish --parallel --max-workers 16
1921
fi
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
2524
calculateArtifactSizes "$metrics_file" # see: constants.sh
2625

0 commit comments

Comments
 (0)