소스 검색

Merge pull request #968 from krzyzanowskim/checks

Fixing macOS build
Nathan Fallet 3 년 전
부모
커밋
f789ac5c4e
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      .github/workflows/macos.yml

+ 5 - 3
.github/workflows/macos.yml

@@ -6,9 +6,6 @@ on:
   pull_request:
     branches: [ main ]
 
-env:
-  DEVELOPER_DIR: /Applications/Xcode_12.2.app/Contents/Developer
-
 jobs:
   build:
 
@@ -17,6 +14,11 @@ jobs:
     steps:
     - uses: actions/checkout@v2
 
+    - name: Select Xcode Version
+      uses: maxim-lobanov/setup-xcode@v1
+      with:
+        xcode-version: latest-stable
+
     - name: Swift Package Build
       run: swift build -v