Skip to content

Commit 4f3845b

Browse files
committed
- move things around, ensure we use bash for name step
1 parent 3631095 commit 4f3845b

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/experimental_wheels.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@ jobs:
6767
cmake --version
6868
swig -version
6969

70+
- name: Set artifact name
71+
id: artifact-name
72+
shell: bash
73+
run: |
74+
python_tag="${CIBW_BUILD%-*}"
75+
echo "name=libSBML-experimental-${{ matrix.os }}-${python_tag}-${{ strategy.job-index }}" >> $GITHUB_OUTPUT
76+
env:
77+
CIBW_BUILD: ${{ matrix.python_version }}
78+
7079
- name: Build Wheels
7180
run: |
7281
python -m cibuildwheel --output-dir wheelhouse
@@ -76,14 +85,6 @@ jobs:
7685
CIBW_BEFORE_BUILD_LINUX: "pip install swig==4.4.1"
7786
CIBW_SKIP: "*-musllinux* cp36-* cp37-* cp38-* *-win32 *-manylinux_i686"
7887

79-
- name: Set artifact name
80-
id: artifact-name
81-
run: |
82-
python_tag="${CIBW_BUILD%-*}"
83-
echo "name=libSBML-experimental-${{ matrix.os }}-${python_tag}-${{ strategy.job-index }}" >> $GITHUB_OUTPUT
84-
env:
85-
CIBW_BUILD: ${{ matrix.python_version }}
86-
8788
- name: Upload wheels
8889
uses: actions/upload-artifact@v4
8990
with:

0 commit comments

Comments
 (0)