Skip to content

Commit

Permalink
ci: updates machine and packages (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhermawan authored Aug 12, 2024
1 parent b449907 commit cd7a71f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: macos-14

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build and test
run: xcodebuild test -scheme ViewCondition -destination 'platform=iOS Simulator,name=iPhone 15 Pro'
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: macos-14

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build and test
run: xcodebuild test -scheme ViewCondition -destination 'platform=macOS,arch=x86_64'
11 changes: 4 additions & 7 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@ concurrency:

jobs:
deploy:
runs-on: macos-13
runs-on: macos-14

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v3

- name: Select Xcode 15
run: sudo xcode-select -s /Applications/Xcode_15.0.1.app/Contents/Developer
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5

- name: Build docs
run: swift package --allow-writing-to-directory ./docs generate-documentation --target ViewCondition --disable-indexing --output-path ./docs --transform-for-static-hosting --hosting-base-path ViewCondition
Expand All @@ -35,5 +32,5 @@ jobs:
with:
path: "docs"

- uses: actions/deploy-pages@v2
- uses: actions/deploy-pages@v4
id: deployment

0 comments on commit cd7a71f

Please sign in to comment.