diff --git a/.github/actions/polymorph_codegen/action.yml b/.github/actions/polymorph_codegen/action.yml index 6f7a64fa5..302523dae 100644 --- a/.github/actions/polymorph_codegen/action.yml +++ b/.github/actions/polymorph_codegen/action.yml @@ -97,6 +97,11 @@ runs: run: | echo "PROJECT_DEPENDENCIES=${{ inputs.update-and-regenerate-mpl != 'true' && 'PROJECT_DEPENDENCIES=' || '' }}" >> $GITHUB_OUTPUT + - name: Print dotnet version + shell: bash + run: | + dotnet --version + - name: Regenerate Dafny code using smithy-dafny # Unfortunately Dafny codegen doesn't work on Windows: # https://github.com/smithy-lang/smithy-dafny/issues/317 diff --git a/.github/workflows/ci_codegen.yml b/.github/workflows/ci_codegen.yml index 092259a40..6bbee248d 100644 --- a/.github/workflows/ci_codegen.yml +++ b/.github/workflows/ci_codegen.yml @@ -48,6 +48,9 @@ jobs: with: dotnet-version: ${{ matrix.dotnet-version }} + - name: Create temporary global.json + run: echo '{"sdk":{"rollForward":"latestFeature","version":"6.0.0"}}' > ./global.json + - name: Setup Java 17 for codegen uses: actions/setup-java@v3 with: