From d901f111e3cef4889b8f45968b8e053b9d79dd8f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 2 May 2022 14:00:12 +0200 Subject: [PATCH] ci: attempt to fix codecov (the old way) --- .github/workflows/ci.yml | 4 +--- scripts/gen_github_workflow_ci.php | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b427b4d..3f19163 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -179,7 +179,5 @@ jobs: run: | find . -name '*.gc*' cd .libs - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov + bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 6ae9e45..7fca971 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -89,9 +89,7 @@ foreach ($job as $id => $env) { run: | find . -name '*.gc*' cd .libs - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov + bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy