From 3ea998aa71f297016fdee8541f232ed8746aaeff Mon Sep 17 00:00:00 2001 From: Miranda Mundt Date: Mon, 24 Jun 2024 14:17:54 -0600 Subject: [PATCH] Sneak in fix for codecov tokenless upload --- .github/workflows/test_branches.yml | 6 ++++++ .github/workflows/test_pr_and_main.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/test_branches.yml b/.github/workflows/test_branches.yml index 8ba04eec466..2689b97746b 100644 --- a/.github/workflows/test_branches.yml +++ b/.github/workflows/test_branches.yml @@ -855,6 +855,9 @@ jobs: token: ${{ secrets.PYOMO_CODECOV_TOKEN }} name: ${{ matrix.TARGET }} flags: ${{ matrix.TARGET }} + # downgrading after v0.7.0 broke tokenless upload + # see codecov/codecov-action#1487 + version: v0.6.0 fail_ci_if_error: true - name: Upload other coverage reports @@ -867,4 +870,7 @@ jobs: token: ${{ secrets.PYOMO_CODECOV_TOKEN }} name: ${{ matrix.TARGET }}/other flags: ${{ matrix.TARGET }},other + # downgrading after v0.7.0 broke tokenless upload + # see codecov/codecov-action#1487 + version: v0.6.0 fail_ci_if_error: true diff --git a/.github/workflows/test_pr_and_main.yml b/.github/workflows/test_pr_and_main.yml index bdf1f7e1aa5..c804372b18a 100644 --- a/.github/workflows/test_pr_and_main.yml +++ b/.github/workflows/test_pr_and_main.yml @@ -899,6 +899,9 @@ jobs: token: ${{ secrets.PYOMO_CODECOV_TOKEN }} name: ${{ matrix.TARGET }} flags: ${{ matrix.TARGET }} + # downgrading after v0.7.0 broke tokenless upload + # see codecov/codecov-action#1487 + version: v0.6.0 fail_ci_if_error: true - name: Upload other coverage reports @@ -911,4 +914,7 @@ jobs: token: ${{ secrets.PYOMO_CODECOV_TOKEN }} name: ${{ matrix.TARGET }}/other flags: ${{ matrix.TARGET }},other + # downgrading after v0.7.0 broke tokenless upload + # see codecov/codecov-action#1487 + version: v0.6.0 fail_ci_if_error: true