Skip to content

Use SWIFTCI_USE_LOCAL_DEPS to check whether to clone swift-docc-plugin #557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 4, 2022

Only SwiftSyntax’s build-script sets SWIFT_BUILD_SCRIPT_ENVIRONMENT. Once we migrate other projects into the unified SwiftPM build, the environment variable is not set and SwiftPM tries to download swift-docc-plugin in CI.

Use SWIFTCI_USE_LOCAL_DEPS as an indicator whether the remote plugin should be loaded.

Only SwiftSyntax’s build-script sets `SWIFT_BUILD_SCRIPT_ENVIRONMENT`. Once we migrate other projects into the unified SwiftPM build, the environment variable is not set and SwiftPM tries to download swift-docc-plugin in CI.

Use `SWIFTCI_USE_LOCAL_DEPS` as an indicator whether the remote plugin should be loaded.
@ahoppen ahoppen requested review from kimdv, rintaro and bnbarham and removed request for rintaro August 4, 2022 21:11
@ahoppen
Copy link
Member Author

ahoppen commented Aug 4, 2022

@swift-ci Please test

@ahoppen ahoppen merged commit 7a77898 into swiftlang:main Aug 5, 2022
@ahoppen ahoppen deleted the pr/no-docc-if-local-dependencies branch August 5, 2022 14:42
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