فهرست منبع

Use Swift 6 to build docs on Swift Package Index (#2020)

Motivation:

We'd like v2 docs to be generated by the Swift Package Index. By default
it uses the latest released Swift version, i.e. 5.10. As v2 requires
Swift 6 we need to configure that.

Modifications:

- Set the swift version in .spi.yml

Result:

Docs for v2 should be built by Swift Package Index
George Barnett 1 سال پیش
والد
کامیت
840352fe97
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      .spi.yml

+ 1 - 0
.spi.yml

@@ -2,3 +2,4 @@ version: 1
 builder:
 builder:
   configs:
   configs:
     - documentation_targets: [GRPC, GRPCReflectionService, protoc-gen-grpc-swift, _GRPCCore]
     - documentation_targets: [GRPC, GRPCReflectionService, protoc-gen-grpc-swift, _GRPCCore]
+      swift_version: 6.0