Skip to content

Commit

Permalink
更新 Github action 設定
Browse files Browse the repository at this point in the history
  • Loading branch information
Darktt committed Nov 28, 2024
1 parent 0affd86 commit e42e940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
jobs:
build:

runs-on: macos-12
runs-on: macos-15.1.1
steps:
- uses: actions/checkout@v1
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_14.1.app && /usr/bin/xcodebuild -version
run: sudo xcode-select -switch /Applications/Xcode_16.0.app && /usr/bin/xcodebuild -version
- name: Run tests
run: xcodebuild test -scheme JsonDecodeProtection -project JsonDecodeProtection.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 13,OS=16.1' | xcpretty && exit ${PIPESTATUS[0]}
run: xcodebuild test -scheme JsonDecodeProtection -project JsonDecodeProtection.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.0' | xcpretty && exit ${PIPESTATUS[0]}

0 comments on commit e42e940

Please sign in to comment.