Skip to content

Commit 216aaa2

Browse files
committed
updated build process
1 parent 5c8d7b4 commit 216aaa2

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535
[ $GITHUB_EVENT_NAME == 'push' ] && VERSION+=b && VERSION+=$(($(git tag -l "*$VERSION*" | cut -db -f2 | sort -n | tail -1)+1))
3636
sed -ie "s/version = .*/version = $VERSION/" setup.cfg
3737
python -m pip install --upgrade pip
38-
pip install -r requirements.txt
39-
pip install build
40-
echo ::set-output name=version::$VERSION
38+
pip install -U pip setuptools
39+
pip install -r requirements-dev.txt
40+
pip install -r requirements-iris.txt
41+
echo version=$VERSION >> $GITHUB_OUTPUT
4142
NAME="django_iris"-${VERSION}-py3-none-any
42-
echo ::set-output name=name::$NAME
43+
echo name=$NAME >> $GITHUB_OUTPUT
4344
- name: Build package
4445
run: ./scripts/build-dist.sh
4546
- name: Publish package

requirements-dev.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
wheel
2+
flake8
3+
pytest
4+
black
5+
twine

0 commit comments

Comments
 (0)