From b68b822bd0c329a170a84ae2ca24014971b330b4 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Sat, 22 Feb 2025 12:43:14 -0700 Subject: ci: also don't fail when the coverage file doesn't download correctly --- .github/workflows/macos.yml | 6 +++--- .github/workflows/ubuntu.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 44ad488..07f7a42 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -50,8 +50,8 @@ jobs: run: | curl -s https://codecov.io/bash > codecov curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/SHA256SUM > codecov.sha256 - if ! sha256sum -c --ignore-missing --status codecov.sha256 ; then + if sha256sum -c --ignore-missing --status codecov.sha256 ; then + bash < codecov || true + else echo "Download checksum verification failed" - exit 1 fi - bash < codecov || true diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index ac31248..1d6fc65 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -53,8 +53,8 @@ jobs: run: | curl -s https://codecov.io/bash > codecov curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/SHA256SUM > codecov.sha256 - if ! sha256sum -c --ignore-missing --status codecov.sha256 ; then + if sha256sum -c --ignore-missing --status codecov.sha256 ; then + bash < codecov || true + else echo "Download checksum verification failed" - exit 1 fi - bash < codecov || true -- cgit v1.2.3