Skip to content

Commit a5f8ae2

Browse files
committed
Fix missing meta outputs declaration
1 parent 1f5cec5 commit a5f8ae2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
meta:
2929
if: github.repository == 'urob/numpy-mkl'
3030
runs-on: ubuntu-latest
31+
outputs:
32+
tag: ${{ env.tag }}
33+
version: ${{ env.version }}
34+
matrix: ${{ env.matrix }}
3135
steps:
3236
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3337
with:
@@ -43,17 +47,17 @@ jobs:
4347
uv run tools/fetch_matrix2 ${{ inputs.name }} --config ci-targets.yaml \
4448
--store build.json ${{ inputs.force-build && '--force-build' || '' }} >matrix.json
4549
46-
echo "tag=$(jq -c '."tag"' matrix.json)" >>$GITHUB_OUTPUT
47-
echo "version=$(jq -c '."version"' matrix.json)" >>$GITHUB_OUTPUT
48-
echo "matrix=$(jq -c '."matrix"' matrix.json)" >>$GITHUB_OUTPUT
50+
echo "tag=$(jq -c '."tag"' matrix.json)" >>$GITHUB_ENV
51+
echo "version=$(jq -c '."version"' matrix.json)" >>$GITHUB_ENV
52+
echo "matrix=$(jq -c '."matrix"' matrix.json)" >>$GITHUB_ENV
4953
5054
cat matrix.json | yq -P -o yaml
5155
5256
#-----------------------------------------------------------------------------------------------
5357
build:
5458
name: ${{ inputs.name }}-${{ matrix.python_version }} (${{ matrix.runner }})
5559
needs: meta
56-
if: ${{ needs.meta.outputs.matrix }}
60+
if: ${{ needs.meta.outputs.matrix != 'null' }}
5761
runs-on: ${{ matrix.runner }}
5862
container: ${{ matrix.container }}
5963
strategy:

0 commit comments

Comments
 (0)