blueloveTH 2 years ago
parent
commit
1490e9db73
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/main.yml

+ 1 - 0
.github/workflows/main.yml

@@ -43,6 +43,7 @@ jobs:
       with:
       with:
         token: ${{ secrets.CODECOV_TOKEN }}
         token: ${{ secrets.CODECOV_TOKEN }}
         directory: .coverage
         directory: .coverage
+      if: github.ref == 'refs/heads/main'
     - name: Compile
     - name: Compile
       run: |
       run: |
         export CXX=clang++
         export CXX=clang++