Skip to content

Commit

Permalink
reuse build setup for kn workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Feb 21, 2024
1 parent c8a4b90 commit c26c3bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
with:
path: 'aws-kotlin-repo-tools'
repository: 'awslabs/aws-kotlin-repo-tools'
ref: '0.2.3'
ref: '0.4.0'
sparse-checkout: |
.github
- name: Checkout smithy-kotlin
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/artifact-size-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,8 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure JDK
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 17
cache: 'gradle'
- name: Setup Build
uses: ./aws-sdk-kotlin/.github/actions/setup-build
- name: Check artifact sizes
run: |
./gradlew :codegen:sdk:bootstrap -Paws.services=${{ env.BOOTSTRAP_SERVICES }}
Expand Down Expand Up @@ -60,13 +55,8 @@ jobs:
if: ${{ github.event_name == 'release' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure JDK
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 17
cache: 'gradle'
- name: Setup Build
uses: ./aws-sdk-kotlin/.github/actions/setup-build
- name: Check artifact sizes
run: |
./gradlew :codegen:sdk:bootstrap -Paws.services=${{ env.BOOTSTRAP_SERVICES }}
Expand Down

0 comments on commit c26c3bc

Please sign in to comment.