File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 cmake --version
6161 swig -version
6262
63+ # echo python major.minor version into a environment variable
64+ echo "PYTHON_VERSION=$(python -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')" >> $GITHUB_ENV
6365
66+ - name : Set artifact name
67+ id : artifact-name
68+ shell : bash
69+ run : |
70+ python_tag="${CIBW_BUILD%-*}"
71+ echo "name=libSBML-${{ matrix.os }}-${python_tag}-${{ strategy.job-index }}" >> $GITHUB_OUTPUT
72+ env :
73+ CIBW_BUILD : ${{ matrix.python_version }}
6474 - name : Build Wheels
6575 run : |
6676 python -m cibuildwheel --output-dir wheelhouse
7484 uses : actions/upload-artifact@v4
7585 with :
7686 path : wheelhouse/*.whl
77- name : libSBML- ${{ matrix.os }}-${{ strategy.job-index }}
87+ name : ${{ steps.artifact-name.outputs.name }}
7888
7989 merge_wheels :
8090 needs : [build_wheels]
You can’t perform that action at this time.
0 commit comments