Skip to content

Commit 2acd1bf

Browse files
refactor: set env via github action workflow
1 parent cba7e0c commit 2acd1bf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
pytest
3737
3838
- name: Build package
39+
env:
40+
PYTHON_VERSION: ${{ matrix.python-version }}
3941
run: |
40-
PYTHON_VERSION=${{ matrix.python-version }}
4142
python setup.py bdist_wheel --python-tag py${PYTHON_VERSION//.}
4243
4344
- name: Test install package

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ jobs:
4242
pytest
4343
4444
- name: Build package
45+
env:
46+
PYTHON_VERSION: ${{ matrix.python-version }}
4547
run: |
46-
PYTHON_VERSION=${{ matrix.python-version }}
4748
python setup.py bdist_wheel --python-tag py${PYTHON_VERSION//.}
4849
4950
- name: Test install package

0 commit comments

Comments
 (0)