Skip to content

misc: refactor artifact size metrics #3

misc: refactor artifact size metrics

misc: refactor artifact size metrics #3

name: Pull request metrics
on:
pull_request:
jobs:
artifact-size-metrics:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
- name: Build
shell: bash
run: |
./gradlew build --parallel
./gradlew publishAllPublicationsToTestLocalRepository --parallel
- name: Calculate metrics
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/calculate-and-upload@asm-v2 # TODO: Change to main before merging
with:
upload: 'false'
release_metrics: 'false'
- name: Process metrics
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/download-and-process@asm-v2 # TODO: Change to main before merging
with:
download: 'false'
permissions: {}