From 15fa3af5deb0b5c251e7361dabbae898bc2b3ea3 Mon Sep 17 00:00:00 2001 From: Aaron J Todd Date: Fri, 6 Oct 2023 11:03:56 -0400 Subject: [PATCH] maybe this time --- .github/workflows/codegen-preview.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codegen-preview.yml b/.github/workflows/codegen-preview.yml index aea5b4bcbd4..15ce833d93a 100644 --- a/.github/workflows/codegen-preview.yml +++ b/.github/workflows/codegen-preview.yml @@ -75,11 +75,12 @@ jobs: npm install -g diff2html-cli@${{ env.DIFF2HTML_VERSION }} env | sort # store off a copy of head ref of ci.py, otherwise base ref generation will use a different version of this script - cp $GITHUB_WORKSPACE/aws-sdk-kotlin/.github/scripts/codegen-diff-revisions.py /tmp/codegen-diff-revisions.py - CODEGEN_DIFF_REVISIONS=/tmp/codegen-diff-revisions.py - REPO_TOOLS=$GITHUB_WORKSPACE/aws-kotlin-repo-tools - SMITHY_KOTLIN_DIR=$GITHUB_WORKSPACE/smithy-kotlin - SDK_DIR=$GITHUB_WORKSPACE/aws-sdk-kotlin + CODEGEN_DIFF_REVISIONS=${{ runner.temp }}/codegen-diff-revisions.py + cp $GITHUB_WORKSPACE/aws-sdk-kotlin/.github/scripts/codegen-diff-revisions.py $CODEGEN_DIFF_REVISIONS + echo "CODEGEN_DIFF_REVISIONS=$CODEGEN_DIFF_REVISIONS" >> "$GITHUB_ENV" + echo "REPO_TOOLS=$GITHUB_WORKSPACE/aws-kotlin-repo-tools" >> "$GITHUB_ENV" + echo "SMITHY_KOTLIN_DIR=$GITHUB_WORKSPACE/smithy-kotlin" >> "$GITHUB_ENV" + echo "SDK_DIR=$GITHUB_WORKSPACE/aws-sdk-kotlin" >> "$GITHUB_ENV" - name: Generate code for head ref run: |