Skip to content

Commit 3c7f3b5

Browse files
committed
try manually...
1 parent feb0372 commit 3c7f3b5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pull_request.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ jobs:
3333
- uses: actions/checkout@v4
3434
- name: Prepare CI Environment
3535
uses: ./.github/actions/prepare_env
36-
- name: Install Swiftly
37-
run: ./.github/scripts/install_swiftly.sh
38-
env:
39-
SWIFT_VERSION: "${{ matrix.swift_version }}"
4036
- name: Run documentation check
4137
run: |
42-
which curl || (apt -q update && apt -yq install curl)
43-
curl -s --retry 3 https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-docs.sh | bash
38+
cat <<EOF >> "$package_file"
39+
40+
package.dependencies.append(
41+
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.0.0")
42+
)
43+
EOF
44+
swift package plugin generate-documentation --target "SwiftJavaDocumentation" --warnings-as-errors --analyze
4445

4546
test-java:
4647
name: Test (Java) (${{ matrix.os_version }} swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}})

0 commit comments

Comments
 (0)