Skip to content

Commit fac71fc

Browse files
committed
🧪🐛 Fix CI reusable workflow conditionals
Refs: * jazzband#2140 * actions/runner#2417 (comment) * actions/toolkit#1264
1 parent 822c3e6 commit fac71fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ jobs:
6161
pip-version: >-
6262
${{
6363
fromJSON(
64-
github.job_workflow_sha
64+
inputs.cpython-pip-version
6565
&& inputs.cpython-pip-version
6666
|| '["latest", "previous"]'
6767
)
6868
}}
6969
env:
7070
TOXENV: >-
7171
pip${{ matrix.pip-version }}${{
72-
!github.job_workflow_sha
72+
!inputs.cpython-pip-version
7373
&& '-coverage'
7474
|| ''
7575
}}
@@ -112,7 +112,7 @@ jobs:
112112
run: tox --skip-pkg-install
113113
- name: Upload coverage to Codecov
114114
if: >-
115-
!github.job_workflow_sha
115+
!inputs.cpython-pip-version
116116
uses: codecov/codecov-action@v3
117117
with:
118118
files: ./coverage.xml

0 commit comments

Comments
 (0)