Skip to content

Conversation

@iliapolo
Copy link
Contributor

@iliapolo iliapolo commented Feb 19, 2025

Follow up to #71.

In contrast to single package jsii publishing, our artifacts don't contain the entire repo, but rather just the compilation result of a specific package. This means that upon extraction, it needs to be placed in the specific package directory instead of the root.

Currently release is failing with:

Error: Expected to find .jsii file in /home/runner/work/aws-cdk-cli/aws-cdk-cli/.repo/packages/@aws-cdk/cli-lib-alpha, but no such file found

Which is expected because it operates on an uncompiled repo. Extraction of the artifact to the correct location will overlay the repo with the compiled code.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@kaizencc kaizencc disabled auto-merge February 19, 2025 22:51
@kaizencc
Copy link
Contributor

bypassing merge rules to get it in because this only changes the release workflow, not the build iteself

@kaizencc kaizencc merged commit 89046ee into main Feb 19, 2025
7 of 8 checks passed
@kaizencc kaizencc deleted the epolon/jsii-extract-artifact-fix branch February 19, 2025 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants