Skip to content

Update docc.yml #8

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: docc
on:
push:
branches: ["main"]
branches: [ "main" ]
permissions:
contents: read
pages: write
Expand All @@ -14,14 +14,14 @@ jobs:
environment:
name: github-pages
url: '${{ steps.deployment.outputs.page_url }}'
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: swift-actions/setup-swift@v1
- name: git checkout
uses: actions/checkout@v3
- name: docbuild
run: >
sudo xcode-select -s /Applications/Xcode_15.0.app;
sudo xcode-select -s /Applications/Xcode_16.0.app;
Copy link
Preview

Copilot AI May 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than manually running xcode-select, you could leverage the Swift setup action’s xcode-version input or use actions/setup-xcode to automatically pick the desired Xcode, which reduces hard-coded paths and future maintenance.

Copilot uses AI. Check for mistakes.

xcodebuild docbuild -scheme FeedbackKit \
-derivedDataPath /tmp/docbuild \
-destination 'generic/platform=iOS';
Expand Down
Loading