Skip to content

Commit 77f34a1

Browse files
committed
try manually...
1 parent feb0372 commit 77f34a1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/pull_request.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,24 @@ jobs:
2626
fail-fast: true
2727
matrix:
2828
swift_version: ['6.1.2']
29+
os_version: ['jammy']
2930
jdk_vendor: ['corretto']
3031
env:
3132
ADDITIONAL_DOCC_ARGUMENTS: ''
3233
steps:
3334
- uses: actions/checkout@v4
3435
- name: Prepare CI Environment
3536
uses: ./.github/actions/prepare_env
36-
- name: Install Swiftly
37-
run: ./.github/scripts/install_swiftly.sh
38-
env:
39-
SWIFT_VERSION: "${{ matrix.swift_version }}"
4037
- name: Run documentation check
4138
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
39+
cat <<EOF >> Package.swift
40+
41+
package.dependencies.append(
42+
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.0.0")
43+
)
44+
EOF
45+
which swift
46+
swift package plugin generate-documentation --target "SwiftJavaDocumentation" --warnings-as-errors --analyze
4447

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

0 commit comments

Comments
 (0)