소스 검색

[GitHub Actions] Limit executing codecov to when Xcode is 10.3

Norio Nomura 5 년 전
부모
커밋
840af4d09a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      .github/workflows/xcodebuild.yml

+ 2 - 1
.github/workflows/xcodebuild.yml

@@ -63,5 +63,6 @@ jobs:
           DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode.version }}.app
         run: xcodebuild -scheme Base32 build -sdk watchsimulator | xcpretty
         shell: bash
-      - run: curl -s https://codecov.io/bash | bash -s -- -t ${{ secrets.CODECOV_TOKEN }}
+      - if: matrix.xcode.version == '10.3'
+        run: curl -s https://codecov.io/bash | bash -s -- -t ${{ secrets.CODECOV_TOKEN }}
         shell: bash