소스 검색

Merge pull request #56 from norio-nomura/fix-codecov-didnot-run

[GitHub Actions] Fix codecov did not run
Norio Nomura 5 년 전
부모
커밋
757d0e7e8d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      .github/workflows/xcodebuild.yml

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

@@ -53,6 +53,7 @@ jobs:
         env: { 'DEVELOPER_DIR': '${{ matrix.developer_dir }}' }
         run: xcodebuild ${{ matrix.xcode_flags_without_test }} -sdk watchsimulator | xcpretty
         shell: bash
-      - if: matrix.xcode.version == '10.3'
+      - name: Codecov
+        if: contains(matrix.developer_dir, '10.3')
         run: curl -s https://codecov.io/bash | bash -s -- -t ${{ secrets.CODECOV_TOKEN }}
         shell: bash