Skip to content

Commit cf58181

Browse files
committed
Try python 3.8 too.
1 parent 2d5b1ba commit cf58181

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/build_and_test.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ jobs:
9090
strategy:
9191
fail-fast: false
9292
matrix:
93-
python-version: ['3.9', '3.11', '3.12']
93+
python-version: ['3.8', '3.9', '3.11', '3.12']
94+
outputs:
95+
dist-artifact-name: dist-${{ env.PY_VER }}
9496
steps:
9597
- name: Set up Python ${{ env.PY_VER }}
9698
uses: actions/setup-python@v5
@@ -151,6 +153,12 @@ jobs:
151153
- name: Show context tree
152154
run: ls -R dist
153155

154-
- name: Publish package distributions to PyPI
155-
if: github.event_name == 'release' && github.event.action == 'created'
156-
uses: pypa/gh-action-pypi-publish@release/v1
156+
- name: Upload built wheels
157+
uses: actions/upload-artifact@v3
158+
with:
159+
name: dist-${{ env.PY_VER }}
160+
path: dist
161+
162+
# - name: Publish package distributions to PyPI
163+
# if: github.event_name == 'release' && github.event.action == 'created'
164+
# uses: pypa/gh-action-pypi-publish@release/v1

scripts/build/install_depends_yum.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
if [ "${PY_VER}" = "3.9" ]
5+
if [ "${PY_VER}" = "3.9" -o "${PY_VER}" = "3.8" ]
66
then
77
PY_VER="3${PY_VER#3.}"
88
dnf module enable python${PY_VER} -y

0 commit comments

Comments
 (0)