You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert workflows to self-hosted with Swiftly (#195)
Test with self-hosted swiftly.
Prepare the docker image before trying to install swiftly.
Correct the swiftly install option.
Update the GitHub prep script to work with/without swiftly.
Use swiftly to run the install libarchive script for the C compiler.
Move proxy circularity check out of swiftly run and into the proxy.
Pre-install git so that the checkout clones the repo instead of using REST to fetch it.
Remove unnecessary packages for C++ compilation.
- name: Generate Swiftly CLI Reference and Check for Differences
72
-
run: swift package plugin --allow-writing-to-package-directory generate-docs-reference && git config --global --add safe.directory $(pwd) && git diff --exit-code Documentation/SwiftlyDocs.docc/swiftly-cli-reference.md || (echo "The documentation hasn't been updated with the latest swiftly command-line reference. Please run 'swift package plugin generate-docs-reference' and commit/push the changes."; exit 1)
88
+
run: swift package plugin --allow-writing-to-package-directory generate-docs-reference && bash -c 'git config --global --add safe.directory $(pwd)' && git diff --exit-code Documentation/SwiftlyDocs.docc/swiftly-cli-reference.md || (echo "The documentation hasn't been updated with the latest swiftly command-line reference. Please run `swift package plugin generate-docs-reference` and commit/push the changes."; exit 1)
73
89
- name: Generate Documentation Set
74
90
run: swift package --allow-writing-to-directory .build/docs generate-documentation --target SwiftlyDocs --output-path .build/docs
Copy file name to clipboardExpand all lines: Sources/Swiftly/Proxy.swift
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,13 @@ public enum Proxy {
56
56
throwSwiftlyError(message:"No swift toolchain could be selected from either from a .swift-version file, or the default. You can try using `swiftly install <toolchain version>` to install one.")
0 commit comments