From 11cfa04681d43c2b62845d744112a53ffc587dbb Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Wed, 20 Sep 2023 12:32:58 +0100 Subject: [PATCH] chore: fix spec update does not add new modules --- .github/workflows/spec-update.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/spec-update.yml b/.github/workflows/spec-update.yml index 011a810575eeb..81d32ee139c90 100644 --- a/.github/workflows/spec-update.yml +++ b/.github/workflows/spec-update.yml @@ -15,7 +15,6 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - name: Check Out uses: actions/checkout@v4 @@ -35,8 +34,14 @@ jobs: # This will ensure the current lockfile is up-to-date with the dependency specifications - name: Install latest version & update lockfile - run: |- - yarn upgrade @aws-cdk/aws-service-spec @aws-cdk/service-spec-types + run: yarn upgrade @aws-cdk/aws-service-spec @aws-cdk/service-spec-types + + # Build @aws-cdk/spec2cdk and run L1 gen script to generate base files for new modules + - name: Build @aws-cdk/spec2cdk + run: lerna run build --stream --no-progress --skip-nx-cache --scope @aws-cdk/spec2cdk + - name: Generate L1s + working-directory: packages/aws-cdk-lib + run: yarn gen # Next, create and upload the changes as a patch file. This will later be downloaded to create a pull request # Creating a pull request requires write permissions and it's best to keep write privileges isolated. @@ -80,9 +85,9 @@ jobs: feat: update AWS Service Spec AWS Service Spec packages to latest versions. # Pull Request details - title: 'feat: update AWS Service Spec' + title: "feat: update AWS Service Spec" body: |- - AWS Service Spec packages to latest versions. + AWS Service Spec packages to latest versions. labels: contribution/core,dependencies,auto-approve,pr-linter/exempt-integ-test,pr-linter/exempt-readme,pr-linter/exempt-test team-reviewers: aws-cdk-team # Github prevents further Github actions to be run if the default Github token is used.